Annotation of hatari/src/uae-cpu/Makefile, revision 1.1.1.6

1.1.1.4   root        1: # Makefile for Hatari's UAE CPU.
                      2: 
1.1.1.5   root        3: # Include settings
                      4: include ../../Makefile.cnf
1.1       root        5: 
1.1.1.2   root        6: 
1.1.1.5   root        7: CFLAGS += -I. $(SDL_CFLAGS)
1.1.1.6 ! root        8: # disable several warnings for the CPU emu code as it comes from elsewhere
        !             9: QUIETCFLAGS = $(CFLAGS) -Wno-unused -Wno-sign-compare -Wno-shadow
1.1.1.2   root       10: 
1.1.1.5   root       11: HOSTCFLAGS += $(SDL_CFLAGS)
1.1.1.2   root       12: 
                     13: 
1.1       root       14: CPUCSRCS = hatari-glue.c memory.c newcpu.c readcpu.c fpp.c cpustbl.c cpudefs.c
1.1.1.2   root       15: 
1.1       root       16: CPUEMUSRCS = cpuemu1.c cpuemu2.c cpuemu3.c cpuemu4.c \
1.1.1.5   root       17:              cpuemu5.c cpuemu6.c cpuemu7.c cpuemu8.c
1.1       root       18: 
                     19: CPU_OBS = $(CPUCSRCS:.c=.o) $(CPUEMUSRCS:.c=.o)
                     20: 
1.1.1.4   root       21: 
1.1.1.5   root       22: all: $(CPU_OBS)
1.1       root       23: 
                     24: 
                     25: clean:
1.1.1.5   root       26:        rm -f *.o gencpu build68k cpudefs.c cpustbl.c cputbl.h cpuemu.c
                     27: 
1.1       root       28: 
1.1.1.4   root       29: build68k: build68k.c
1.1.1.5   root       30:        $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
1.1.1.4   root       31: 
1.1       root       32: cpudefs.c: ./build68k ./table68k
                     33:        ./build68k <./table68k >cpudefs.c
                     34: 
1.1.1.5   root       35: cpudefs-host.o: cpudefs.c
                     36:        $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
                     37: 
                     38: readcpu-host.o: readcpu.c
                     39:        $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
                     40: 
1.1.1.4   root       41: gencpu.o: gencpu.c
1.1.1.5   root       42:        $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
1.1.1.4   root       43: 
1.1.1.5   root       44: gencpu: gencpu.o readcpu-host.o cpudefs-host.o
                     45:        $(HOSTCC) $(HOSTLDFLAGS) -o $@ $^
1.1       root       46: 
                     47: cpuemu.c: gencpu
                     48:        ./gencpu
                     49: 
                     50: cpustbl.c: cpuemu.c
                     51: cputbl.h: cpuemu.c
                     52: 
                     53: 
1.1.1.4   root       54: # this is for people with low memory (is there a way do do this with a single rule ?)
1.1       root       55: cpuemu1.o: cpuemu.c
1.1.1.5   root       56:        $(CC) -DPART_1 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       57: cpuemu2.o: cpuemu.c
1.1.1.5   root       58:        $(CC) -DPART_2 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       59: cpuemu3.o: cpuemu.c
1.1.1.5   root       60:        $(CC) -DPART_3 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       61: cpuemu4.o: cpuemu.c
1.1.1.5   root       62:        $(CC) -DPART_4 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       63: cpuemu5.o: cpuemu.c
1.1.1.5   root       64:        $(CC) -DPART_5 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       65: cpuemu6.o: cpuemu.c
1.1.1.5   root       66:        $(CC) -DPART_6 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       67: cpuemu7.o: cpuemu.c
1.1.1.5   root       68:        $(CC) -DPART_7 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       69: cpuemu8.o: cpuemu.c
1.1.1.5   root       70:        $(CC) -DPART_8 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       71: 
                     72: 
1.1.1.5   root       73: newcpu.o: sysdeps.h hatari-glue.h maccess.h memory.h newcpu.h

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.