diff options
Diffstat (limited to 'xc/extras/Mesa/BeOS/Makefile')
-rw-r--r-- | xc/extras/Mesa/BeOS/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/xc/extras/Mesa/BeOS/Makefile b/xc/extras/Mesa/BeOS/Makefile new file mode 100644 index 000000000..bad7cc7b6 --- /dev/null +++ b/xc/extras/Mesa/BeOS/Makefile @@ -0,0 +1,42 @@ +# $Id: Makefile,v 1.1.4.1 2000/12/01 20:37:40 gareth Exp $ + +# Makefile for BeOS demos + +# Written by Brian Paul +# This file is in the public domain. + + + +CC = g++ + +# Use Mesa: +CFLAGS = -I../include -c -g +LFLAGS = -L../lib -Xlinker -rpath ../lib -lbe -lGL + +# Use BeOS OpenGL: +#CFLAGS = -I/boot/develop/headers/be/opengl -c -g +#LFLAGS = -L../lib -Xlinker -rpath ../lib -lbe -lGL + + +PROGRAMS = demo sample + +default: $(PROGRAMS) + + +clean: + rm -f demo sample + rm -f *.o + + +demo: demo.o + $(CC) demo.o $(LFLAGS) -o $@ + +demo.o: demo.cpp + $(CC) $(CFLAGS) demo.cpp + + +sample: sample.o + $(CC) sample.o $(LFLAGS) -o $@ + +sample.o: sample.cpp + $(CC) $(CFLAGS) sample.cpp |