# # DO NOT EDIT THIS FILE! It is automagically created by # the configure script, based on Makefile.skel. # XINCLUDE=-I/usr/X11R6/include XLIB=-L/usr/X11R6/lib -lX11 CWARNINGS=-Wall COPTIM=-O3 -g -pg -Wall INCLUDE=-Iinclude/ DINCLUDE=-I../include/ CC=cc OTHERLIBS=-lm CPU_ARCHS= CPU_BACKENDS= CPU_TOOLS= # # $Id: Makefile.skel,v 1.37 2005/12/20 21:20:10 debug Exp $ # # Makefile for GXemul # #.SILENT: CFLAGS=$(CWARNINGS) $(COPTIM) $(XDEF) $(XINCLUDE) BIN=gxemul-psp LIBS=$(XLIB) $(OTHERLIBS) all: config.h build config.h: ./configure build: cd src; $(MAKE); cd .. $(CC) $(COPTIM) src/cpus/*.o src/devices/*.o src/machines/*.o src/promemul/*.o src/*.o $(LIBS) -o $(BIN) install: build @echo @echo "There is no automatic 'make install'. You need to manually copy the gxemul" @echo "binary and any other files you need to where you want them to reside. The man/" @echo "subdirectory contains a small man-page, it should probably be placed in" @echo "'/usr/.../man/man1' on most systems, and the contents of the doc/ subdirectory" @echo "could be placed in '/usr/.../share/doc/gxemul'." @echo clean: rm -f $(BIN) *core core.* *.gmon _* cd src; $(MAKE) clean; cd .. rm -f *~ rm -f config.h # experiments are not cleaned on a normal clean, only on a clean_all. clean_all: clean cd experiments; $(MAKE) clean_all; cd .. rm -f config.h Makefile src/Makefile src/cpus/Makefile rm -f src/devices/Makefile src/devices/fonts/Makefile rm -f src/machines/Makefile rm -f src/promemul/Makefile src/include/Makefile