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