/[gxemul]/upstream/0.3.1/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

Annotation of /upstream/0.3.1/Makefile.skel

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations)
Mon Oct 8 16:17:52 2007 UTC (16 years, 7 months ago) by dpavlin
File size: 1164 byte(s)
0.3.1
1 dpavlin 2 #
2     # $Id: Makefile.skel,v 1.25 2005/03/05 11:18:31 debug Exp $
3     #
4     # Makefile for GXemul
5     #
6    
7     CFLAGS=$(CWARNINGS) $(COPTIM) $(XDEF) $(XINCLUDE)
8     BIN=gxemul
9     LIBS=$(XLIB) $(OTHERLIBS)
10    
11     all: $(BIN)
12    
13     $(BIN): do_src do_devices
14     $(CC) $(COPTIM) src/*.o devices/*.o $(LIBS) -o $(BIN)
15    
16     do_src:
17     cd src; $(MAKE); cd ..
18    
19     do_devices:
20     cd devices; $(MAKE); cd ..
21    
22     regtest: gxemul
23     cd tests; $(MAKE) run_tests; cd ..
24    
25     install: all
26     @echo
27     @echo "There is no automatic 'make install'. You need to manually copy the gxemul"
28     @echo "binary and any other files you need to where you want them to reside. The man/"
29     @echo "subdirectory contains a small man-page, it should probably be placed in"
30     @echo "'/usr/.../man/man1' on most systems, and the contents of the doc/ subdirectory"
31     @echo "could be placed in '/usr/.../share/doc/gxemul'."
32     @echo
33    
34     clean:
35     rm -f $(BIN) *core core.* *.gmon _*
36     cd src; $(MAKE) clean; cd ..
37     cd devices; $(MAKE) clean; cd ..
38    
39     # Tests are not cleaned on a normal clean, only on a clean_all.
40    
41     clean_all: clean
42     cd tests; $(MAKE) clean_all; cd ..
43     cd devices; $(MAKE) clean_all; cd ..
44     rm -f config.h Makefile src/Makefile devices/Makefile tests/Makefile
45    

  ViewVC Help
Powered by ViewVC 1.1.26