/[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

Annotation of /trunk/Makefile.skel

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (hide annotations)
Wed Oct 10 23:31:09 2007 UTC (16 years, 6 months ago) by dpavlin
File size: 1526 byte(s)
forked off sandpoint machine with mpc40x device from pmppc to isolate changes
1 dpavlin 2 #
2 dpavlin 44 # $Id: Makefile.skel,v 1.53 2007/06/28 13:36:45 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 44 $(CC) $(COPTIM) src/*.o src/console/*.o src/cpus/*.o src/debugger/*.o src/devices/*.o src/disk/*.o src/file/*.o src/machines/*.o src/net/*.o src/promemul/*.o src/symbol/*.o src/useremul/*.o $(LIBS) -o $(BIN)
16 dpavlin 2
17 dpavlin 32 install: build
18 dpavlin 2 @echo
19     @echo "There is no automatic 'make install'. You need to manually copy the gxemul"
20     @echo "binary and any other files you need to where you want them to reside. The man/"
21     @echo "subdirectory contains a small man-page, it should probably be placed in"
22     @echo "'/usr/.../man/man1' on most systems, and the contents of the doc/ subdirectory"
23     @echo "could be placed in '/usr/.../share/doc/gxemul'."
24     @echo
25    
26     clean:
27 dpavlin 38 rm -f $(BIN) *core core.* *.gmon _* *.exe ktrace.out
28 dpavlin 2 cd src; $(MAKE) clean; cd ..
29    
30 dpavlin 24 # experiments and demos are not cleaned on a normal clean, only on a clean_all.
31 dpavlin 2
32     clean_all: clean
33 dpavlin 6 cd experiments; $(MAKE) clean_all; cd ..
34 dpavlin 24 cd demos; $(MAKE) clean; cd ..
35 dpavlin 14 rm -f config.h Makefile src/Makefile src/cpus/Makefile
36 dpavlin 34 rm -f src/debugger/Makefile src/devices/Makefile
37 dpavlin 38 rm -f src/devices/fonts/Makefile src/disk/Makefile
38     rm -f src/file/Makefile src/machines/Makefile
39 dpavlin 44 rm -f src/net/Makefile
40 dpavlin 20 rm -f src/promemul/Makefile src/include/Makefile
41 dpavlin 42 rm -f src/useremul/Makefile src/include/Makefile
42 dpavlin 44 rm -f src/console/Makefile src/symbol/Makefile
43 dpavlin 42
44 dpavlin 49 tags:
45     ctags -R *.[ch]

  ViewVC Help
Powered by ViewVC 1.1.26