diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,11 @@ all : glslview glslwrite +USE_INOTIFY = -DUSE_INOTIFY + +CFLAGS = -O3 -Wall $(USE_INOTIFY) + glslview : glslview.c - $(CC) -o $@ $^ -lSDL2 -lGL -lGLEW -Wall + $(CC) $(CFLAGS) -o $@ $^ -lSDL2 -lGL -lGLEW glslwrite : glslview.c - $(CC) -o $@ $^ -DGLSLWRITE -lSDL2 -lpng -lGL -lGLEW -Wall + $(CC) $(CFLAGS) -o $@ $^ -DGLSLWRITE -lSDL2 -lpng -lGL -lGLEW |