mesa/progs/beos/Makefile

36 lines
643 B
Makefile
Raw Normal View History

# 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.
#
# Modified by Philippe Houdoin
1999-08-19 01:55:39 +01: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
INCLUDES = -I. -I- -I../../include
default: demo sample GLInfo
1999-08-19 01:55:39 +01:00
clean:
-rm -f demo sample GLInfo
-rm -f *.o
1999-08-19 01:55:39 +01:00
demo: demo.o
$(LD) demo.o $(LDFLAGS) $(LIBS) -o $@
1999-08-19 01:55:39 +01:00
sample: sample.o
$(LD) sample.o $(LDFLAGS) $(LIBS) -o $@
GTLInfo: GLInfo.o
$(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) $(LIBS) -o $@
1999-08-19 01:55:39 +01:00
.cpp.o:
$(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@