# # dusk: Nur Doku installieren # #DOCUMENT_ROOT=/Personal/hubert/FuzzyPendel #CC = #XINC = #XLIBS = #CFLAGS = #LIBS = # # miyu # #DOCUMENT_ROOT=/~feyrer/FuzzyPendel DOCUMENT_ROOT=/FuzzyPendel # feyrer.de CC = gcc XINC = -I/usr/local/motif-2.0.0/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 XLIBS = -L/usr/local/motif-2.0.0/lib -L/usr/X11R6/lib -lXm -lXaw -lXt -lXmu -lXext -lX11 \ -lXdmcp -lm CFLAGS = -O2 -Wall LIBS = -lcurses -ltermcap -lm # # rfhs1012 # #DOCUMENT_ROOT=/home/feyrer/work/FuzzyPendel #DOCUMENT_ROOT=/fachbereiche/wwwim/wwwki/FuzzyPendel #CC = gcc #XINC = -I/opt/SUNWmotif/include -I/opt/SUNWmotif/include/X11 \ # -I/opt/X11R5/include #XLIBS = -L/opt/SUNWmotif/lib -lXm -lXaw -lXt -lXmu -lXext -lX11 \ # -lXdmcp -lm -lgen -lelf -lsocket -lnsl #CFLAGS = -O2 -Wall #LIBS = -lcurses -ltermcap -lm ########################################################################### all: pendel xpendel doc ##### pendel: pendel.o balance.o $(CC) $(CFLAGS) pendel.o balance.o -o pendel $(LIBS) pendel.o: pendel.c balance.h $(CC) $(CFLAGS) -c pendel.c balance.o: balance.c balance.h $(CC) $(CFLAGS) -c balance.c ### xpendel: xpendel.o $(CC) $(CFLAGS) xpendel.o -o xpendel $(XLIBS) xpendel.o: xpendel.c $(CC) $(CFLAGS) $(XINC) -c xpendel.c ##### doc: perl mkpages $(DOCUMENT_ROOT) sed 's|DOCUMENT_ROOT|$(DOCUMENT_ROOT)|g' \ pendel.map ##### backup: cd .. ; tar plvcf FuzzyPendel.tar FuzzyPendel clean: -rm -f *.o *.core pendel xpendel -rm pendel.log -cd qtpendel ; make clean veryclean: clean -rm -f ??_*.html -rm -f index.html -rm -f oberflaeche.html -rm -f design.html -rm -f implement.html -rm -f pendel.map