*** Makefile Wed Jul 16 18:57:19 1997 --- Makefile.new Wed Jul 16 18:58:54 1997 *************** *** 3,8 **** --- 3,9 ---- # customized: # # UNIX - Should always be present in the Unix version. + # SVGA - If you want to use Linux SVGALib # LSB_FIRST - Use this if your CPU has least-significant-byte-first # architecture (Intel 80x86, Alpha, etc.). # DEBUG - Define this option if you have a little runtime *************** *** 43,67 **** # change the -L/usr/X11R6/lib to the directory where X11 # libraries libX11.* and libXext.* are located on your system. CC = gcc ! DEFINES = -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM -DSOUND CFLAGS = -O2 -I/usr/X11R6/include -L/usr/X11R6/lib ${DEFINES} ! OBJECTS = MG.o SMS.o Z80.o Debug.o Unix.o DSP.o # Make the standard distribution: MasterGear and tools all: mg dasm psgplay ! # MasterGear Unix/X requires X11 libraries. See note above if you are ! # experiencing any problems. mg: ${OBJECTS} ! ${CC} ${CFLAGS} -o $@ ${OBJECTS} -lXext -lX11 # DASM is a little Z80 disassembler ! dasm: dasm.c ! ${CC} ${CFLAGS} -o $@ $> # PSGPLAY is a player for .SND and .PSG files psgplay: psgplay.c DSP.c ! ${CC} ${CFLAGS} -o $@ $> # Clean up. clean: --- 44,68 ---- # change the -L/usr/X11R6/lib to the directory where X11 # libraries libX11.* and libXext.* are located on your system. CC = gcc ! DEFINES = -DSVGA -DUNIX -DLSB_FIRST -DLINUX -DDEBUG -DSOUND CFLAGS = -O2 -I/usr/X11R6/include -L/usr/X11R6/lib ${DEFINES} ! OBJECTS = MG.o SMS.o Z80.o Debug.o Svga.o DSP.o # Make the standard distribution: MasterGear and tools all: mg dasm psgplay ! # MasterGear Linux/SVGALib requires SVGALib libraries. ! # Contact tim@rose-cottage.demon.co.uk if you are experiencing any problems. mg: ${OBJECTS} ! ${CC} ${CFLAGS} -o $@ ${OBJECTS} -lvga # DASM is a little Z80 disassembler ! dasm: dasm.c ! ${CC} ${CFLAGS} -o $@ $< # PSGPLAY is a player for .SND and .PSG files psgplay: psgplay.c DSP.c ! ${CC} ${CFLAGS} -o $@ $< # Clean up. clean: *************** *** 71,76 **** MG.o: MG.c SMS.h Z80.h Help.h SMS.o: SMS.c SMS.h Z80.h Z80.o: Z80.c Z80.h Codes.h CodesED.h CodesCB.h CodesXX.h Tables.h CodesXCB.h ! Unix.o: Unix.c DSP.h SMS.h Z80.h Common.h Debug.o:Debug.c Z80.h DSP.o: DSP.c DSP.h --- 72,77 ---- MG.o: MG.c SMS.h Z80.h Help.h SMS.o: SMS.c SMS.h Z80.h Z80.o: Z80.c Z80.h Codes.h CodesED.h CodesCB.h CodesXX.h Tables.h CodesXCB.h ! Svga.o: Svga.c DSP.h SMS.h Z80.h Common.h Debug.o:Debug.c Z80.h DSP.o: DSP.c DSP.h