From de0ee3187c8fffb52327f9a5680a3eafea872276 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 26 Mar 2004 15:19:11 +0000 Subject: New Makefile system --- progs/samples/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 progs/samples/Makefile (limited to 'progs/samples/Makefile') diff --git a/progs/samples/Makefile b/progs/samples/Makefile new file mode 100644 index 0000000000..464492de73 --- /dev/null +++ b/progs/samples/Makefile @@ -0,0 +1,34 @@ +# progs/samples/Makefile + +TOP = ../.. +include $(TOP)/configs/current + +INCDIR = $(TOP)/include + +LIB_DEP = $(LIB_DIR)/$(GL_LIB) $(LIB_DIR)/$(GLU_LIB) $(LIB_DIR)/$(GLUT_LIB) + +PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ + font line logo nurb oglinfo olympic overlay point prim quad select \ + shape sphere star stencil stretch texture tri wave + + +##### RULES ##### + +.SUFFIXES: +.SUFFIXES: .c + +.c: $(LIB_DEP) + $(CC) -I$(INCDIR) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@ + + + +##### TARGETS ##### + +default: $(PROGS) + +clean: + -rm -f *.o *~ + +realclean: + -rm -f $(PROGS) + -rm -f *.o *~ -- cgit v1.2.3