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

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)
        !             8: QUIETCFLAGS = $(CFLAGS) -Wno-unused
1.1.1.2   root        9: 
1.1.1.5 ! root       10: HOSTCFLAGS += $(SDL_CFLAGS)
1.1.1.2   root       11: 
                     12: 
1.1       root       13: CPUCSRCS = hatari-glue.c memory.c newcpu.c readcpu.c fpp.c cpustbl.c cpudefs.c
1.1.1.2   root       14: 
1.1       root       15: CPUEMUSRCS = cpuemu1.c cpuemu2.c cpuemu3.c cpuemu4.c \
1.1.1.5 ! root       16:              cpuemu5.c cpuemu6.c cpuemu7.c cpuemu8.c
1.1       root       17: 
                     18: CPU_OBS = $(CPUCSRCS:.c=.o) $(CPUEMUSRCS:.c=.o)
                     19: 
1.1.1.4   root       20: 
1.1.1.5 ! root       21: all: $(CPU_OBS)
1.1       root       22: 
                     23: 
                     24: clean:
1.1.1.5 ! root       25:        rm -f *.o gencpu build68k cpudefs.c cpustbl.c cputbl.h cpuemu.c
        !            26: 
1.1       root       27: 
1.1.1.4   root       28: build68k: build68k.c
1.1.1.5 ! root       29:        $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
1.1.1.4   root       30: 
1.1       root       31: cpudefs.c: ./build68k ./table68k
                     32:        ./build68k <./table68k >cpudefs.c
                     33: 
1.1.1.5 ! root       34: cpudefs-host.o: cpudefs.c
        !            35:        $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
        !            36: 
        !            37: readcpu-host.o: readcpu.c
        !            38:        $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
        !            39: 
1.1.1.4   root       40: gencpu.o: gencpu.c
1.1.1.5 ! root       41:        $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
1.1.1.4   root       42: 
1.1.1.5 ! root       43: gencpu: gencpu.o readcpu-host.o cpudefs-host.o
        !            44:        $(HOSTCC) $(HOSTLDFLAGS) -o $@ $^
1.1       root       45: 
                     46: cpuemu.c: gencpu
                     47:        ./gencpu
                     48: 
                     49: cpustbl.c: cpuemu.c
                     50: cputbl.h: cpuemu.c
                     51: 
                     52: 
1.1.1.4   root       53: # this is for people with low memory (is there a way do do this with a single rule ?)
1.1       root       54: cpuemu1.o: cpuemu.c
1.1.1.5 ! root       55:        $(CC) -DPART_1 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       56: cpuemu2.o: cpuemu.c
1.1.1.5 ! root       57:        $(CC) -DPART_2 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       58: cpuemu3.o: cpuemu.c
1.1.1.5 ! root       59:        $(CC) -DPART_3 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       60: cpuemu4.o: cpuemu.c
1.1.1.5 ! root       61:        $(CC) -DPART_4 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       62: cpuemu5.o: cpuemu.c
1.1.1.5 ! root       63:        $(CC) -DPART_5 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       64: cpuemu6.o: cpuemu.c
1.1.1.5 ! root       65:        $(CC) -DPART_6 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       66: cpuemu7.o: cpuemu.c
1.1.1.5 ! root       67:        $(CC) -DPART_7 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       68: cpuemu8.o: cpuemu.c
1.1.1.5 ! root       69:        $(CC) -DPART_8 -c $(CPPFLAGS) $(QUIETCFLAGS) $< -o $@
1.1       root       70: 
                     71: 
1.1.1.5 ! root       72: 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.