diff options
author | Sven Gothel <[email protected]> | 2000-11-18 06:43:49 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2000-11-18 06:43:49 +0000 |
commit | 880653d31a8f1ff8384fdbc75b84934bceecfdb8 (patch) | |
tree | bdafb71416f176d2a4b73bf716c9dc3f13685a8b /demos/natives/x11/makefile.x11 |
Initial revision
Diffstat (limited to 'demos/natives/x11/makefile.x11')
-rw-r--r-- | demos/natives/x11/makefile.x11 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/demos/natives/x11/makefile.x11 b/demos/natives/x11/makefile.x11 new file mode 100644 index 0000000..d4e03bb --- /dev/null +++ b/demos/natives/x11/makefile.x11 @@ -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=} + |