Files
mesa/progs/samples/Makefile

31 lines
310 B
Makefile

PROGS = prim \
star \
line \
point \
depth \
tri \
bitmap1 \
bitmap2
##### RULES #####
.SUFFIXES:
.SUFFIXES: .c
# make executable from .c file:
.c: $(LIB_DEP)
gcc -I../include -g $< -L../lib -lglut -lGL -lGLU -lm -o $@
default: $(PROGS)
clean: clean_here
clean_here:
rm -f *.o *~ $(PROGS)