diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-02 08:20:15 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-02 08:21:24 +0100 |
commit | d28929a69b80f2efa0d0c957761ce81cf0e50f51 (patch) | |
tree | fbffd4f1248c45fb123c1b6df78838e8fcb59de3 /Makefile | |
parent | bf44fa581082fe59f165ad55e2545d06eb2310bf (diff) | |
download | glslview-d28929a69b80f2efa0d0c957761ce81cf0e50f51.tar glslview-d28929a69b80f2efa0d0c957761ce81cf0e50f51.zip |
Add reload support (using inotify)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,11 @@ all : glslview glslwrite +USE_INOTIFY = -DUSE_INOTIFY + +CFLAGS = -O3 -Wall $(USE_INOTIFY) + glslview : glslview.c - $(CC) -o $@ $^ -lSDL2 -lGL -lGLEW -Wall + $(CC) $(CFLAGS) -o $@ $^ -lSDL2 -lGL -lGLEW glslwrite : glslview.c - $(CC) -o $@ $^ -DGLSLWRITE -lSDL2 -lpng -lGL -lGLEW -Wall + $(CC) $(CFLAGS) -o $@ $^ -DGLSLWRITE -lSDL2 -lpng -lGL -lGLEW |