CC = gcc #CFLAGS = -DDEBUG -DBREAKPOINT #CFLAGS = -DDEBUG DEFS = -DX86_ASM -DLSB_FIRST CFLAGS = -finline-functions -funroll-loops -fomit-frame-pointer -O3 -m486 -Wall LIBS = -lalleg OBJS = ckong.o machine.o vidhrdw.o sndhrdw.o roms.o romdecod.o common.o osdepend.o \ z80.o codecb.o codedd.o codeed.o codefd.o all: ckong.exe ckong.exe: $(OBJS) $(CC) -s -o ckong.exe $(OBJS) audiodjf.a $(LIBS) %.o: %.c $(CC) $(DEFS) $(CFLAGS) -c $< osdepend.o: msdos.c $(CC) $(DEFS) $(CFLAGS) -o osdepend.o -c msdos.c # dependencies machine.o: memmap.h roms.h vidhrdw.o: memmap.h roms.h vidhrdw.h sndhrdw.o: memmap.h roms.h psg.c psg.h roms.o: roms.h common.o: roms.h vidhrdw.h clean: del *.o del ckong.exe