/[gxemul]/trunk/Makefile.skel
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/Makefile.skel

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 1  Line 1 
1  #  #
2  #  $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 $
3  #  #
4  #  Makefile for GXemul  #  Makefile for GXemul
5  #  #
# Line 12  all: build Line 12  all: build
12    
13  build:  build:
14          cd src; $(MAKE); cd ..          cd src; $(MAKE); cd ..
15          $(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)
16    
17  install: build  docs:
18            cd doc; $(MAKE); cd ..
19    
20    install: build docs
21          @echo          @echo
22          @echo "There is no automatic 'make install'. You need to manually copy the gxemul"          @echo "There is no automatic 'make install'. You need to manually copy the gxemul"
23          @echo "binary and any other files you need to where you want them to reside. The man/"          @echo "binary and any other files you need to where you want them to reside. The man/"
# Line 24  install: build Line 27  install: build
27          @echo          @echo
28    
29  clean:  clean:
30          rm -f $(BIN) *core core.* *.gmon _*          rm -f $(BIN) *core core.* *.gmon _* *.exe
31          cd src; $(MAKE) clean; cd ..          cd src; $(MAKE) clean; cd ..
32            cd doc; $(MAKE) clean; cd ..
33    
34  #  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.
35    
36  clean_all: clean  clean_all: clean
37          cd experiments; $(MAKE) clean_all; cd ..          cd experiments; $(MAKE) clean_all; cd ..
38            cd demos; $(MAKE) clean; cd ..
39          rm -f config.h Makefile src/Makefile src/cpus/Makefile          rm -f config.h Makefile src/Makefile src/cpus/Makefile
40            rm -f src/debugger/Makefile
41          rm -f src/devices/Makefile src/devices/fonts/Makefile          rm -f src/devices/Makefile src/devices/fonts/Makefile
42          rm -f src/machines/Makefile          rm -f src/machines/Makefile doc/Makefile
43          rm -f src/promemul/Makefile src/include/Makefile          rm -f src/promemul/Makefile src/include/Makefile

Legend:
Removed from v.22  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26