aboutsummaryrefslogtreecommitdiffstats
path: root/demos/natives/x11/makefile
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2000-11-18 06:43:49 +0000
committerSven Gothel <[email protected]>2000-11-18 06:43:49 +0000
commit880653d31a8f1ff8384fdbc75b84934bceecfdb8 (patch)
treebdafb71416f176d2a4b73bf716c9dc3f13685a8b /demos/natives/x11/makefile
Initial revision
Diffstat (limited to 'demos/natives/x11/makefile')
-rw-r--r--demos/natives/x11/makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/demos/natives/x11/makefile b/demos/natives/x11/makefile
new file mode 100644
index 0000000..d4e03bb
--- /dev/null
+++ b/demos/natives/x11/makefile
@@ -0,0 +1,30 @@
+#
+# Uses: Linux2.0X-glibc-pthreads-mesa3.0pthreads
+#
+
+CC = cc
+
+CCINCL = -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include
+CCLIBS = -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11/lib \
+ -lGL -lGLU -lglut \
+ -lXmu -lXt -lSM -lICE -lXext -lX11 -lXi -lXext -lX11 -lm -lpthread
+
+
+C_APPL_FILES = cube.c olympic.c testGL1.c testGL2.c wave.c
+
+
+.SUFFIXES : .c .o
+
+.c.o:
+ $(CC) -c -o $@ $< $(CCINCL) 2>&1 | tee -a errors
+ $(CC) -o ${@:.o=} $@ $(CCINCL) $(CCLIBS) 2>&1 | tee -a errors
+
+all: ${C_APPL_FILES:.c=.o}
+
+
+clean:
+ rm -f *.o *~ errors
+
+cleanall: clean
+ rm -f ${C_APPL_FILES:.c=}
+