summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 11a990e..3826d3e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,8 @@ USE_INOTIFY = -DUSE_INOTIFY
CFLAGS = -O3 -Wall $(USE_INOTIFY)
LIBS = -lSDL2 -lGL -lGLEW -lm
-glslview : glslview.c
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+glslview : glslview.c common.c common.h
+ $(CC) $(CFLAGS) -o $@ glslview.c common.c $(LIBS)
-glslwrite : glslview.c
- $(CC) $(CFLAGS) -DGLSLWRITE -o $@ $^ $(LIBS) -lpng
+glslwrite : glslwrite.c common.c common.h
+ $(CC) $(CFLAGS) -o $@ glslwrite.c common.c $(LIBS) -lpng