|
|
1.1 root 1: # Makefile for Hatari's Falcon support.
2:
3: CPUDIR ?= uae-cpu
4:
5: # Include settings
6: include ../../Makefile.cnf
7:
8: # Additional include directories:
9: INCFLAGS = -I../.. -I../includes -I../$(CPUDIR) $(CPPFLAGS)
10:
11:
12: # Set flags passed to the compiler (e.g. optimization flags)
13: #CFLAGS := -g -O2 -Wall
14:
15:
16: CFLAGS += $(INCFLAGS) $(SDL_CFLAGS)
17:
18:
19:
20: FALCSRCS = videl.c hostscreen.c nvram.c
21: ifeq ($(ENABLE_DSP_EMU),1)
1.1.1.2 ! root 22: FALCSRCS += dsp.c dsp_core.c dsp_cpu.c dsp_disasm.c
! 23: CPPFLAGS += -DDSP_EMULATION=1
1.1 root 24: endif
25:
26: FALCOBJS = $(FALCSRCS:.c=.o)
27:
28:
29: all: $(FALCOBJS)
30:
31:
32: clean:
33: $(RM) *.o
34:
35: distclean: clean
36: $(RM) Makefile.dep *~ *.bak *.orig
37:
38:
39: # Use "make depend" to generate file dependencies:
40: Makefile.dep: Makefile
41: $(CC) -M $(CFLAGS) $(FALCSRCS) > Makefile.dep
42:
43: depend: Makefile.dep
44:
45: -include Makefile.dep
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.