Annotation of hatari/src/Makefile, revision 1.1.1.6

1.1       root        1: # Makefile for Hatari
                      2: 
                      3: # Set the C compiler (e.g. gcc)
                      4: CC = gcc
                      5: 
1.1.1.5   root        6: # Set flags passed to the compiler (e.g. optimization flags)
1.1.1.6 ! root        7: CMPLRFLAGS = -O3 -Wall -Wno-unused
1.1.1.5   root        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.1.5   root       16: SDLLIB = $(shell sdl-config --libs)
                     17: SDLFLAGS = $(shell sdl-config --cflags)
                     18: 
                     19: # Additional include directories:
                     20: INCFLAGS = -I./includes -I./uae-cpu
1.1       root       21: 
1.1.1.4   root       22: 
1.1.1.5   root       23: CFLAGS = $(CMPLRFLAGS) $(INCFLAGS) $(SDLFLAGS)
1.1       root       24: 
                     25: 
                     26: CPUOBJS = ./uae-cpu/hatari-glue.o ./uae-cpu/memory.o ./uae-cpu/newcpu.o \
                     27:   ./uae-cpu/readcpu.o ./uae-cpu/fpp.o ./uae-cpu/cpustbl.o ./uae-cpu/cpudefs.o \
                     28:   ./uae-cpu/cpuemu1.o ./uae-cpu/cpuemu2.o ./uae-cpu/cpuemu3.o \
                     29:   ./uae-cpu/cpuemu4.o ./uae-cpu/cpuemu5.o ./uae-cpu/cpuemu6.o \
                     30:   ./uae-cpu/cpuemu7.o ./uae-cpu/cpuemu8.o
                     31: 
1.1.1.5   root       32: SRCS = audio.c bios.c blitter.c cart.c configuration.c createBlankImage.c \
1.1.1.3   root       33:   createDiscImage.c debug.c debugui.c dialog.c errlog.c fdc.c file.c \
1.1.1.4   root       34:   floppy.c gemdos.c hdc.c ikbd.c int.c intercept.c joy.c keymap.c m68000.c \
1.1.1.2   root       35:   main.c midi.c memAlloc.c memorySnapShot.c mfp.c misc.c msa.c psg.c \
1.1       root       36:   printer.c rs232.c reset.c st.c stMemory.c screen.c screenConvert.c \
1.1.1.5   root       37:   screenSnapShot.c sdlgui.c shortcut.c sound.c spec512.c \
1.1.1.4   root       38:   tos.c vdi.c video.c wavFormat.c xbios.c ymFormat.c
1.1       root       39: 
                     40: OBJS = $(SRCS:.c=.o)
                     41: 
                     42: 
                     43: hatari: $(OBJS) cpu
                     44:        $(CC) $(OBJS) $(CPUOBJS) $(SDLLIB) -o hatari
1.1.1.4   root       45:        strip hatari
1.1       root       46: 
                     47: cpu:
1.1.1.5   root       48:        $(MAKE) -C uae-cpu/ CC="$(CC)" CMPLRFLAGS="$(CMPLRFLAGS)" SDLFLAGS="$(SDLFLAGS)" all
1.1       root       49: 
                     50: clean:
                     51:        rm -f *.o hatari
                     52:        $(MAKE) -C uae-cpu/ clean
                     53: 
                     54: 
1.1.1.4   root       55: configuration.o: configuration.c
                     56:        $(CC) $(CFLAGS) -c -DDATADIR=\"$(DATADIR)\" configuration.c -o configuration.o
                     57: 
                     58: sdlgui.o: sdlgui.c
                     59:        $(CC) $(CFLAGS) -c -DDATADIR=\"$(DATADIR)\" sdlgui.c -o sdlgui.o
                     60: 
1.1       root       61: screenConvert.o: convert/high640x1.c convert/low640x16.c convert/spec320x16.c \
                     62:     convert/vdi4.c convert/high640x8.c convert/low640x8.c convert/spec640x16.c \
                     63:     convert/low320x16.c convert/med640x16.c convert/vdi16.c \
                     64:     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.