|
|
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:
1.1.1.4 ! root 9: INCFLAGS = -I../.. -I../includes -I../debug -I../$(CPUDIR) \
! 10: $(CPPFLAGS) $(PORTAUDIO_CFLAGS)
1.1 root 11:
1.1.1.4 ! root 12: FALCSRCS = videl.c hostscreen.c nvram.c dsp.c crossbar.c microphone.c
! 13: ifeq ($(ENABLE_DSP_EMU),1)
! 14: FALCSRCS += dsp_core.c dsp_cpu.c dsp_disasm.c
! 15: INCFLAGS += -DENABLE_DSP_EMU=1
! 16: endif
1.1 root 17:
18: # Set flags passed to the compiler (e.g. optimization flags)
19: #CFLAGS := -g -O2 -Wall
20:
21: CFLAGS += $(INCFLAGS) $(SDL_CFLAGS)
22:
23: FALCOBJS = $(FALCSRCS:.c=.o)
24:
25:
1.1.1.3 root 26: all: falcon.a
27:
28: falcon.a: $(FALCOBJS)
29: $(AR) cru $@ $^
30: $(RANLIB) $@
1.1 root 31:
32:
33: clean:
1.1.1.4 ! root 34: $(RM) *.o falcon.a
1.1 root 35:
36: distclean: clean
37: $(RM) Makefile.dep *~ *.bak *.orig
38:
39:
40: # Use "make depend" to generate file dependencies:
1.1.1.4 ! root 41: Makefile.dep: Makefile ../Makefile
1.1 root 42: $(CC) -M $(CFLAGS) $(FALCSRCS) > Makefile.dep
43:
44: depend: Makefile.dep
45:
46: -include Makefile.dep
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.