From f81f0074c0db900cbc44113d457a2395d3a55fd1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 2 Feb 2016 09:00:05 +0100 Subject: Add support for changing the speed --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3