2006-11-25 11:56:37 -07:00
|
|
|
# progs/beos/Makefile
|
|
|
|
|
|
|
|
TOP = ../..
|
|
|
|
include $(TOP)/configs/current
|
|
|
|
|
|
|
|
# Makefile for BeOS demos
|
|
|
|
|
|
|
|
# Written by Brian Paul
|
|
|
|
# This file is in the public domain.
|
|
|
|
#
|
|
|
|
# Modified by Philippe Houdoin
|
|
|
|
|
2008-02-12 14:09:25 -07:00
|
|
|
LDFLAGS += -soname=_APP_
|
|
|
|
|
|
|
|
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
|
2006-11-25 11:56:37 -07:00
|
|
|
|
|
|
|
INCLUDES = -I. -I- -I../../include
|
|
|
|
|
|
|
|
default: demo sample GLInfo
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f demo sample GLInfo
|
|
|
|
rm -f *.o
|
|
|
|
|
|
|
|
demo: demo.o
|
2008-02-12 14:09:25 -07:00
|
|
|
$(LD) demo.o $(LDFLAGS) $(LIBS) -o $@
|
2006-11-25 11:56:37 -07:00
|
|
|
|
|
|
|
sample: sample.o
|
2008-02-12 14:09:25 -07:00
|
|
|
$(LD) sample.o $(LDFLAGS) $(LIBS) -o $@
|
2006-11-25 11:56:37 -07:00
|
|
|
|
|
|
|
GTLInfo: GLInfo.o
|
2008-02-12 14:09:25 -07:00
|
|
|
$(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) $(LIBS) -o $@
|
2006-11-25 11:56:37 -07:00
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
$(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@
|