summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-02-02 09:00:05 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-02-02 09:00:05 +0100
commitf81f0074c0db900cbc44113d457a2395d3a55fd1 (patch)
treece7dcf850573fb648f7593f28c256c0260220b7d /Makefile
parent709e22459b6de9c28c4b4c10fde1b129b0558cd1 (diff)
downloadglslview-f81f0074c0db900cbc44113d457a2395d3a55fd1.tar
glslview-f81f0074c0db900cbc44113d457a2395d3a55fd1.zip
Add support for changing the speed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c79d1a5..11a990e 100644
--- a/Makefile
+++ b/Makefile
@@ -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