/[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 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC
# Line 1  Line 1 
1  #  #
2  #  $Id: Makefile.skel,v 1.28 2005/04/15 22:28:42 debug Exp $  #  $Id: Makefile.skel,v 1.32 2005/08/08 06:02:58 debug Exp $
3  #  #
4  #  Makefile for GXemul  #  Makefile for GXemul
5  #  #
# Line 8  CFLAGS=$(CWARNINGS) $(COPTIM) $(XDEF) $( Line 8  CFLAGS=$(CWARNINGS) $(COPTIM) $(XDEF) $(
8  BIN=gxemul  BIN=gxemul
9  LIBS=$(XLIB) $(OTHERLIBS)  LIBS=$(XLIB) $(OTHERLIBS)
10    
11    all: build
12    
13  build:  build:
14          cd src; $(MAKE); cd ..          cd src; $(MAKE); cd ..
15          $(CC) $(COPTIM) src/*.o src/devices/*.o $(LIBS) -o $(BIN)          $(CC) $(COPTIM) src/*.o src/devices/*.o $(LIBS) -o $(BIN)
16    
 regtest: build  
         cd tests; $(MAKE) run_tests; cd ..  
   
17  install: build  install: build
18          @echo          @echo
19          @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"
# Line 28  clean: Line 27  clean:
27          rm -f $(BIN) *core core.* *.gmon _*          rm -f $(BIN) *core core.* *.gmon _*
28          cd src; $(MAKE) clean; cd ..          cd src; $(MAKE) clean; cd ..
29    
30  #  Tests are not cleaned on a normal clean, only on a clean_all.  #  experiments are not cleaned on a normal clean, only on a clean_all.
31    
32  clean_all: clean  clean_all: clean
33          cd tests; $(MAKE) clean_all; cd ..          cd experiments; $(MAKE) clean_all; cd ..
34          rm -f config.h Makefile src/Makefile src/devices/Makefile src/devices/fonts/Makefile tests/Makefile          rm -f config.h Makefile src/Makefile src/devices/Makefile src/devices/fonts/Makefile
35    

Legend:
Removed from v.4  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26