|
|
1.1 root 1: # Makefile for Hatari
2:
3: # Set flags passed to the compiler (e.g. optimization flags)
1.1.1.3 ! root 4: CMPLRFLAGS = -g -O2
1.1 root 5:
6: # Set the C compiler (e.g. gcc)
7: CC = gcc
8:
9:
10: SDLLIB=$(shell sdl-config --libs)
11: SDLFLAGS=$(shell sdl-config --cflags)
12:
13: CFLAGS = -I./includes -I./uae-cpu $(CMPLRFLAGS) $(SDLFLAGS)
14:
15:
16: CPUOBJS = ./uae-cpu/hatari-glue.o ./uae-cpu/memory.o ./uae-cpu/newcpu.o \
17: ./uae-cpu/readcpu.o ./uae-cpu/fpp.o ./uae-cpu/cpustbl.o ./uae-cpu/cpudefs.o \
18: ./uae-cpu/cpuemu1.o ./uae-cpu/cpuemu2.o ./uae-cpu/cpuemu3.o \
19: ./uae-cpu/cpuemu4.o ./uae-cpu/cpuemu5.o ./uae-cpu/cpuemu6.o \
20: ./uae-cpu/cpuemu7.o ./uae-cpu/cpuemu8.o
21:
22: SRCS = audio.c bios.c cart.c configuration.c createBlankImage.c \
1.1.1.3 ! root 23: createDiscImage.c debug.c debugui.c dialog.c errlog.c fdc.c file.c \
1.1 root 24: floppy.c gemdos.c ikbd.c int.c intercept.c joy.c keymap.c m68000.c \
1.1.1.2 root 25: main.c midi.c memAlloc.c memorySnapShot.c mfp.c misc.c msa.c psg.c \
1.1 root 26: printer.c rs232.c reset.c st.c stMemory.c screen.c screenConvert.c \
27: screenSnapShot.c shortcut.c sound.c spec512.c statusBar.c timer.c \
28: tos.c vdi.c video.c view.c wavFormat.c xbios.c ymFormat.c
29:
30: OBJS = $(SRCS:.c=.o)
31:
32:
33: hatari: $(OBJS) cpu
34: $(CC) $(OBJS) $(CPUOBJS) $(SDLLIB) -o hatari
35:
36: cpu:
37: $(MAKE) -C uae-cpu/ CFLAGS="$(CMPLRFLAGS)" CC="$(CC)" all
38:
39: clean:
40: rm -f *.o hatari
41: $(MAKE) -C uae-cpu/ clean
42:
43:
44: screenConvert.o: convert/high640x1.c convert/low640x16.c convert/spec320x16.c \
45: convert/vdi4.c convert/high640x8.c convert/low640x8.c convert/spec640x16.c \
46: convert/low320x16.c convert/med640x16.c convert/vdi16.c \
47: convert/low320x8.c convert/med640x8.c convert/vdi2.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.