Annotation of hatari/src/Makefile, revision 1.1.1.4

1.1       root        1: # Makefile for Hatari
                      2: 
                      3: # Set flags passed to the compiler (e.g. optimization flags)
1.1.1.4 ! root        4: CMPLRFLAGS = -O3 -fomit-frame-pointer
1.1       root        5: 
                      6: # Set the C compiler (e.g. gcc)
                      7: CC = gcc
                      8: 
1.1.1.4 ! root        9: # Here you can define the default data directory for Hatari where it
        !            10: # looks for the default TOS image etc.
        !            11: # For example you can use the local directory with . or if you want to do
        !            12: # a system-wide installation, use something like /usr/share/hatari
        !            13: DATADIR = .
1.1       root       14: 
1.1.1.4 ! root       15: # SDL-Library configuration:
1.1       root       16: SDLLIB=$(shell sdl-config --libs)
                     17: SDLFLAGS=$(shell sdl-config --cflags)
                     18: 
1.1.1.4 ! root       19: 
1.1       root       20: CFLAGS = -I./includes -I./uae-cpu $(CMPLRFLAGS) $(SDLFLAGS)
                     21: 
                     22: 
                     23: CPUOBJS = ./uae-cpu/hatari-glue.o ./uae-cpu/memory.o ./uae-cpu/newcpu.o \
                     24:   ./uae-cpu/readcpu.o ./uae-cpu/fpp.o ./uae-cpu/cpustbl.o ./uae-cpu/cpudefs.o \
                     25:   ./uae-cpu/cpuemu1.o ./uae-cpu/cpuemu2.o ./uae-cpu/cpuemu3.o \
                     26:   ./uae-cpu/cpuemu4.o ./uae-cpu/cpuemu5.o ./uae-cpu/cpuemu6.o \
                     27:   ./uae-cpu/cpuemu7.o ./uae-cpu/cpuemu8.o
                     28: 
                     29: SRCS = audio.c bios.c cart.c configuration.c createBlankImage.c \
1.1.1.3   root       30:   createDiscImage.c debug.c debugui.c dialog.c errlog.c fdc.c file.c \
1.1.1.4 ! root       31:   floppy.c gemdos.c hdc.c ikbd.c int.c intercept.c joy.c keymap.c m68000.c \
1.1.1.2   root       32:   main.c midi.c memAlloc.c memorySnapShot.c mfp.c misc.c msa.c psg.c \
1.1       root       33:   printer.c rs232.c reset.c st.c stMemory.c screen.c screenConvert.c \
1.1.1.4 ! root       34:   screenSnapShot.c sdlgui.c shortcut.c sound.c spec512.c timer.c \
        !            35:   tos.c vdi.c video.c wavFormat.c xbios.c ymFormat.c
1.1       root       36: 
                     37: OBJS = $(SRCS:.c=.o)
                     38: 
                     39: 
                     40: hatari: $(OBJS) cpu
                     41:        $(CC) $(OBJS) $(CPUOBJS) $(SDLLIB) -o hatari
1.1.1.4 ! root       42:        strip hatari
1.1       root       43: 
                     44: cpu:
1.1.1.4 ! root       45:        $(MAKE) -C uae-cpu/ CFLAGS="$(CMPLRFLAGS) $(SDLFLAGS)" CC="$(CC)" all
1.1       root       46: 
                     47: clean:
                     48:        rm -f *.o hatari
                     49:        $(MAKE) -C uae-cpu/ clean
                     50: 
                     51: 
1.1.1.4 ! root       52: configuration.o: configuration.c
        !            53:        $(CC) $(CFLAGS) -c -DDATADIR=\"$(DATADIR)\" configuration.c -o configuration.o
        !            54: 
        !            55: sdlgui.o: sdlgui.c
        !            56:        $(CC) $(CFLAGS) -c -DDATADIR=\"$(DATADIR)\" sdlgui.c -o sdlgui.o
        !            57: 
1.1       root       58: screenConvert.o: convert/high640x1.c convert/low640x16.c convert/spec320x16.c \
                     59:     convert/vdi4.c convert/high640x8.c convert/low640x8.c convert/spec640x16.c \
                     60:     convert/low320x16.c convert/med640x16.c convert/vdi16.c \
                     61:     convert/low320x8.c  convert/med640x8.c  convert/vdi2.c

unix.superglobalmegacorp.com

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