WEB=Pub AP=applet WAP=${WEB}/applet SND=sound WSND=${WEB}/sound RR=RounderRouter RRA=RounderRouter/applet RRD=RounderRouter/data all: ${WEB}/index.html ${WAP}/index.html ${WAP}/data/index.html ${WEB}/index.html: ${WEB}/makeindex.php.txt ${WEB}/wander.tgz \ ${WEB}/wandersweep.mp3 \ ${WEB}/wandergraph.jpg allelse touch ${WEB}/datefile (cd ${WEB}; php makeindex.php.txt >index.html) allelse: wandersound wander7 wandersweep wandersw2 \ ${AP}/index.html ${AP}/data/index.html ${SND}/index.html WANDER_SRC=Makefile wander5 wander6 wander6b.txt wander7.c wandersweep.c \ ${WEB}/makeindex.php.txt APPLET_SRC=${AP}/RounderRouter.pde ${AP}/RounderRouter.java \ ${AP}/RounderRouter.jar ${AP}/makeindex.php.txt \ ${AP}/loading.gif ${AP}/RounderRouter.pde: ${RRA}/RounderRouter.pde cp ${RRA}/RounderRouter.pde ${AP} ${AP}/RounderRouter.java: ${RRA}/RounderRouter.java cp ${RRA}/RounderRouter.java ${AP} ${AP}/RounderRouter.jar: ${RRA}/RounderRouter.jar cp ${RRA}/RounderRouter.jar ${AP} ${AP}/loading.gif: ${RRA}/loading.gif cp ${RRA}/loading.gif ${AP} APPLET_STUFF=${APPLET_SRC} ${AP}/index.html ${AP}/index.html: $(APPLET_SRC) touch ${AP}/datefile (cd ${AP}; php makeindex.php.txt >index.html) ${WAP}/index.html: ${APPLET_STUFF} cp ${APPLET_STUFF} ${WAP} APPLET_DATA_SRC=${AP}/data/makeindex.php.txt \ ${AP}/data/AmericanTypewriter-18.vlw ${AP}/data/Clouds_320.jpg ${AP}/data/AmericanTypewriter-18.vlw: ${RRD}/AmericanTypewriter-18.vlw cp ${RRD}/AmericanTypewriter-18.vlw ${AP}/data ${AP}/data/Clouds_320.jpg: ${RRD}/Clouds_320.jpg cp ${RRD}/Clouds_320.jpg ${AP}/data APPLET_DATA_STUFF=${APPLET_DATA_SRC} ${AP}/data/index.html ${AP}/data/index.html: $(APPLET_DATA_SRC) touch ${AP}/data/datefile (cd ${AP}/data; php makeindex.php.txt >index.html) ${WAP}/data/index.html: ${APPLET_DATA_SRC} cp ${APPLET_DATA_STUFF} ${WAP}/data SOUND_SRC=${SND}/sound.h ${SND}/sound.c ${SND}/sound_open.c \ ${SND}/sound_read.c ${SND}/sound_write.c ${SND}/makeindex.php.txt SRC=$(WANDER_SRC) $(APPLET_SRC) $(APPLET_DATA_SRC) $(SOUND_SRC) ${WEB}/wander.tgz: $(SRC) echo "SHOULDN'T HAVE THOSE PATHS IN THERE:" tar czf ${WEB}/wander.tgz $(SRC) echo "SHOULDN'T HAVE THOSE PATHS IN THERE:" ${SND}/index.html: $(SOUND_SRC) touch ${SND}/datefile (cd sound; php makeindex.php.txt >index.html) wander7: wander7.c cc -o wander7 wander7.c SFILES=${SND}/sound_open.o ${SND}/sound_write.o \ ${SND}/sound_read.o ${SND}/sound.o wandersound: wandersound.c $(SFILES) cc -Isound -o wandersound wandersound.c $(SFILES) wandersweep: wandersweep.c $(SFILES) cc -Isound -o wandersweep wandersweep.c $(SFILES) wandersw2: wandersw2.c $(SFILES) cc -Isound -o wandersw2 wandersw2.c $(SFILES) php script.