4 include $(TOP
)/configs
/current
6 # Makefile for BeOS demos
8 # Written by Brian Paul
9 # This file is in the public domain.
11 # Modified by Philippe Houdoin
13 LDFLAGS
+= -soname
=_APP_
15 LIBS
= -L
$(TOP
)/$(LIB_DIR
) -l
$(GLUT_LIB
) -l
$(GLU_LIB
) -l
$(GL_LIB
) $(APP_LIB_DEPS
)
17 INCLUDES
= -I.
-I-
-I..
/..
/include
19 default
: demo sample GLInfo
22 -rm -f demo sample GLInfo
26 $(LD
) demo.o
$(LDFLAGS
) $(LIBS
) -o
$@
29 $(LD
) sample.o
$(LDFLAGS
) $(LIBS
) -o
$@
32 $(LD
) GLInfo.o
$(INCLUDES
) $(LDFLAGS
) $(LIBS
) -o
$@
35 $(CC
) -c
$< $(INCLUDES
) $(CFLAGS
) -o
$@