|
|
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:
1.1.1.3 ! root 20: FALCSRCS = videl.c hostscreen.c nvram.c dsp.c
1.1 root 21: ifeq ($(ENABLE_DSP_EMU),1)
1.1.1.3 ! root 22: FALCSRCS += dsp_core.c dsp_cpu.c dsp_disasm.c
! 23: CPPFLAGS += -DENABLE_DSP_EMU=1
1.1 root 24: endif
25:
26: FALCOBJS = $(FALCSRCS:.c=.o)
27:
28:
1.1.1.3 ! root 29: all: falcon.a
! 30:
! 31: falcon.a: $(FALCOBJS)
! 32: $(AR) cru $@ $^
! 33: $(RANLIB) $@
1.1 root 34:
35:
36: clean:
37: $(RM) *.o
38:
39: distclean: clean
40: $(RM) Makefile.dep *~ *.bak *.orig
41:
42:
43: # Use "make depend" to generate file dependencies:
44: Makefile.dep: Makefile
45: $(CC) -M $(CFLAGS) $(FALCSRCS) > Makefile.dep
46:
47: depend: Makefile.dep
48:
49: -include Makefile.dep
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.