4 # These programs aren't intended to be included with the normal distro.
5 # They're not too interesting but they're good for testing.
8 include $(TOP
)/configs
/current
10 LIBS
= -L
$(TOP
)/$(LIB_DIR
) -l
$(GLUT_LIB
) -l
$(GLEW_LIB
) -l
$(GLU_LIB
) -l
$(GL_LIB
) $(APP_LIB_DEPS
)
17 PROGS
= $(SOURCES
:%.c
=%)
19 INCLUDES
= -I.
-I
$(TOP
)/include -I..
/samples
28 $(CC
) $(INCLUDES
) $(CFLAGS
) $< $(LIBS
) -o
$@
31 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $(DEFINES
) $< -o
$@
34 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $(DEFINES
) $< -o
$@
52 etags
`find . -name \*.[ch]` `find ../include`