home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMIGA PD 1
/
AMIGA-PD-1.iso
/
Meeting_Pearls_II
/
html
/
sw
/
nbsd
/
FuzzyPendel
/
makefile
< prev
next >
Wrap
Makefile
|
1994-07-02
|
1KB
|
73 lines
#
# dusk: Nur Doku installieren
#
DOCUMENT_ROOT=/Personal/hubert/FuzzyPendel
CC =
XINC =
XLIBS =
CFLAGS =
LIBS =
#
# rfhs1012
#
#DOCUMENT_ROOT=/home/feyrer/work/FuzzyPendel
#DOCUMENT_ROOT=/usergroups/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.orig >pendel.map
#####
backup:
cd .. ; tar plvcf FuzzyPendel.tar FuzzyPendel
clean:
-rm -f *.o
-rm pendel.log
veryclean: clean
-rm pendel
-rm xpendel
-rm -f ??_*.html
-rm -f index.html
-rm -f oberflaeche.html
-rm -f design.html
-rm -f implement.html
-rm -f pendel.map