--- trunk/Makefile.skel 2007/10/08 16:19:43 23 +++ trunk/Makefile.skel 2007/10/08 16:19:56 24 @@ -1,5 +1,5 @@ # -# $Id: Makefile.skel,v 1.37 2005/12/20 21:20:10 debug Exp $ +# $Id: Makefile.skel,v 1.42 2006/05/17 18:07:17 debug Exp $ # # Makefile for GXemul # @@ -12,9 +12,12 @@ build: cd src; $(MAKE); cd .. - $(CC) $(COPTIM) src/*.o src/cpus/*.o src/devices/*.o src/machines/*.o src/promemul/*.o $(LIBS) -o $(BIN) + $(CC) $(COPTIM) src/*.o src/cpus/*.o src/debugger/*.o src/devices/*.o src/machines/*.o src/promemul/*.o $(LIBS) -o $(BIN) -install: build +docs: + cd doc; $(MAKE); cd .. + +install: build docs @echo @echo "There is no automatic 'make install'. You need to manually copy the gxemul" @echo "binary and any other files you need to where you want them to reside. The man/" @@ -24,14 +27,17 @@ @echo clean: - rm -f $(BIN) *core core.* *.gmon _* + rm -f $(BIN) *core core.* *.gmon _* *.exe cd src; $(MAKE) clean; cd .. + cd doc; $(MAKE) clean; cd .. -# experiments are not cleaned on a normal clean, only on a clean_all. +# experiments and demos are not cleaned on a normal clean, only on a clean_all. clean_all: clean cd experiments; $(MAKE) clean_all; cd .. + cd demos; $(MAKE) clean; cd .. rm -f config.h Makefile src/Makefile src/cpus/Makefile + rm -f src/debugger/Makefile rm -f src/devices/Makefile src/devices/fonts/Makefile - rm -f src/machines/Makefile + rm -f src/machines/Makefile doc/Makefile rm -f src/promemul/Makefile src/include/Makefile