summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3826d3eb3306f5cdf79ddce0cc5905244070ec42 (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 common.c common.h
	$(CC) $(CFLAGS) -o $@ glslview.c common.c $(LIBS)

glslwrite : glslwrite.c common.c common.h
	$(CC) $(CFLAGS) -o $@ glslwrite.c common.c $(LIBS) -lpng