summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-02-03 12:53:39 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-02-03 12:53:39 +0100
commit22e600bde83f04fd4f140bcf2c7f7b90d5920e55 (patch)
treef3dcadce077b879fc47aab3115ea1e6936979b29 /Makefile
parent17d48c425cd6b16a015f7f88988bdbd1ec8a3233 (diff)
downloadglslview-22e600bde83f04fd4f140bcf2c7f7b90d5920e55.tar
glslview-22e600bde83f04fd4f140bcf2c7f7b90d5920e55.zip
Restructure glslview/glslwrite code
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