summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 11a990eaebd57d6e6e5888da0ed83e03beb34b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
all : glslview glslwrite

USE_INOTIFY = -DUSE_INOTIFY

CFLAGS = -O3 -Wall $(USE_INOTIFY)
LIBS = -lSDL2 -lGL -lGLEW -lm

glslview : glslview.c
	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)

glslwrite : glslview.c
	$(CC) $(CFLAGS) -DGLSLWRITE -o $@ $^ $(LIBS) -lpng