2004-08-14 10:59:16 +01:00
|
|
|
# progs/beos/Makefile
|
|
|
|
|
|
|
|
TOP = ../..
|
|
|
|
include $(TOP)/configs/current
|
1999-08-19 01:55:39 +01:00
|
|
|
|
|
|
|
# Makefile for BeOS demos
|
|
|
|
|
|
|
|
# Written by Brian Paul
|
|
|
|
# This file is in the public domain.
|
2004-08-14 10:59:16 +01:00
|
|
|
#
|
|
|
|
# Modified by Philippe Houdoin
|
1999-08-19 01:55:39 +01:00
|
|
|
|
2007-10-29 15:03:01 +00:00
|
|
|
LDFLAGS += -soname=_APP_
|
|
|
|
|
|
|
|
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
|
1999-08-19 01:55:39 +01:00
|
|
|
|
2004-08-15 15:06:00 +01:00
|
|
|
INCLUDES = -I. -I- -I../../include
|
|
|
|
|
2004-08-14 10:59:16 +01:00
|
|
|
default: demo sample GLInfo
|
1999-08-19 01:55:39 +01:00
|
|
|
|
|
|
|
clean:
|
2004-08-14 10:59:16 +01:00
|
|
|
rm -f demo sample GLInfo
|
1999-08-19 01:55:39 +01:00
|
|
|
rm -f *.o
|
|
|
|
|
|
|
|
demo: demo.o
|
2007-10-29 15:03:01 +00:00
|
|
|
$(LD) demo.o $(LDFLAGS) $(LIBS) -o $@
|
1999-08-19 01:55:39 +01:00
|
|
|
|
|
|
|
sample: sample.o
|
2007-10-29 15:03:01 +00:00
|
|
|
$(LD) sample.o $(LDFLAGS) $(LIBS) -o $@
|
2004-08-14 10:59:16 +01:00
|
|
|
|
|
|
|
GTLInfo: GLInfo.o
|
2007-10-29 15:03:01 +00:00
|
|
|
$(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) $(LIBS) -o $@
|
1999-08-19 01:55:39 +01:00
|
|
|
|
2004-08-14 10:59:16 +01:00
|
|
|
.cpp.o:
|
2004-08-15 15:06:00 +01:00
|
|
|
$(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@
|