1 # Makefile for miniglx demo programs
5 include $(TOP
)/configs
/current
8 SOURCES
= glfbdevtest.c
10 OBJECTS
= $(SOURCES
:.c
=.o
)
12 PROGS
= $(SOURCES
:%.c
=%)
18 LIBS
= -L
$(TOP
)/$(LIB_DIR
) -l
$(GLU_LIB
) -l
$(GL_LIB
) $(APP_LIB_DEPS
)
26 $(CC
) $(INCLUDES
) $(CFLAGS
) $(LDFLAGS
) $< $(LIBS
) -o
$@
29 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $< -o
$@
32 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $< -o
$@
37 default
: depend
$(PROGS
)
47 $(MKDEP
) $(MKDEP_OPTIONS
) $(INCLUDES
) $(SOURCES
) > /dev
/null
52 etags
`find . -name \*.[ch]` `find ../include`