From b8cdeaae3a30b6b487911771d350cb0a46386189 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 24 Feb 2003 21:31:02 +0000 Subject: [PATCH] New file --- progs/samples/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 progs/samples/Makefile diff --git a/progs/samples/Makefile b/progs/samples/Makefile new file mode 100644 index 00000000000..d97e781997b --- /dev/null +++ b/progs/samples/Makefile @@ -0,0 +1,28 @@ + +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 -lm -o $@ + + +default: $(PROGS) + + +clean: + -rm *.o *~ +