summaryrefslogtreecommitdiffstats
path: root/progs/beos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/beos/Makefile')
-rw-r--r--progs/beos/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/progs/beos/Makefile b/progs/beos/Makefile
new file mode 100644
index 00000000000..45782fb3cf7
--- /dev/null
+++ b/progs/beos/Makefile
@@ -0,0 +1,33 @@
+# 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
+
+LDFLAGS += -soname=_APP_ $(APP_LIB_DEPS)
+
+INCLUDES = -I. -I- -I../../include
+
+default: demo sample GLInfo
+
+clean:
+ rm -f demo sample GLInfo
+ rm -f *.o
+
+demo: demo.o
+ $(LD) demo.o $(LDFLAGS) -o $@
+
+sample: sample.o
+ $(LD) sample.o $(LDFLAGS) -o $@
+
+GTLInfo: GLInfo.o
+ $(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) -o $@
+
+.cpp.o:
+ $(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@