From 22e600bde83f04fd4f140bcf2c7f7b90d5920e55 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 3 Feb 2016 12:53:39 +0100 Subject: Restructure glslview/glslwrite code --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3