/[gxemul]/upstream/0.3.4/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.4/Makefile.skel

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (hide annotations)
Mon Oct 8 16:18:31 2007 UTC (16 years, 6 months ago) by dpavlin
File size: 1116 byte(s)
0.3.4
1 dpavlin 2 #
2 dpavlin 6 # $Id: Makefile.skel,v 1.30 2005/05/25 06:41:19 debug Exp $
3 dpavlin 2 #
4     # Makefile for GXemul
5     #
6    
7     CFLAGS=$(CWARNINGS) $(COPTIM) $(XDEF) $(XINCLUDE)
8     BIN=gxemul
9     LIBS=$(XLIB) $(OTHERLIBS)
10    
11 dpavlin 6 all: build
12    
13 dpavlin 4 build:
14 dpavlin 2 cd src; $(MAKE); cd ..
15 dpavlin 4 $(CC) $(COPTIM) src/*.o src/devices/*.o $(LIBS) -o $(BIN)
16 dpavlin 2
17 dpavlin 4 regtest: build
18 dpavlin 2 cd tests; $(MAKE) run_tests; cd ..
19    
20 dpavlin 4 install: build
21 dpavlin 2 @echo
22     @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/"
24     @echo "subdirectory contains a small man-page, it should probably be placed in"
25     @echo "'/usr/.../man/man1' on most systems, and the contents of the doc/ subdirectory"
26     @echo "could be placed in '/usr/.../share/doc/gxemul'."
27     @echo
28    
29     clean:
30     rm -f $(BIN) *core core.* *.gmon _*
31     cd src; $(MAKE) clean; cd ..
32    
33 dpavlin 6 # Tests and experiments are not cleaned on a normal clean, only on a clean_all.
34 dpavlin 2
35     clean_all: clean
36     cd tests; $(MAKE) clean_all; cd ..
37 dpavlin 6 cd experiments; $(MAKE) clean_all; cd ..
38 dpavlin 4 rm -f config.h Makefile src/Makefile src/devices/Makefile src/devices/fonts/Makefile tests/Makefile
39 dpavlin 2

  ViewVC Help
Powered by ViewVC 1.1.26