Permalink
Switch branches/tags
Nothing to show
Find file
1d30d7c Mar 19, 2012
19 lines (13 sloc) 328 Bytes
SHADERS=noisedemo.vert noisedemo.frag
COMDIR=../common
VPATH=$(COMDIR)
EXECNAME=noisedemo
all: $(EXECNAME) links_done
$(EXECNAME): noisedemo.c
gcc -I. -I/usr/X11/include $^ -lglfw -lGLU -lGL -lm -o $@
links_done: $(SHADERS)
ln -s $? . ; touch links_done
clean:
- rm $(EXECNAME) $(SHADERS) links_done
run:
./$(EXECNAME)