summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c79d1a58de5b50a8e4b2fe3905dbe4cd12afaa5b (plain)
1
2
3
4
5
6
7
8
9
10
11
all : glslview glslwrite

USE_INOTIFY = -DUSE_INOTIFY

CFLAGS = -O3 -Wall $(USE_INOTIFY)

glslview : glslview.c
	$(CC) $(CFLAGS) -o $@ $^ -lSDL2 -lGL -lGLEW

glslwrite : glslview.c
	$(CC) $(CFLAGS) -o $@ $^ -DGLSLWRITE -lSDL2 -lpng -lGL -lGLEW