--- hatari/src/falcon/Makefile 2019/04/09 08:47:20 1.1.1.3 +++ hatari/src/falcon/Makefile 2019/04/09 08:48:46 1.1.1.4 @@ -6,23 +6,20 @@ CPUDIR ?= uae-cpu include ../../Makefile.cnf # Additional include directories: -INCFLAGS = -I../.. -I../includes -I../$(CPUDIR) $(CPPFLAGS) +INCFLAGS = -I../.. -I../includes -I../debug -I../$(CPUDIR) \ + $(CPPFLAGS) $(PORTAUDIO_CFLAGS) +FALCSRCS = videl.c hostscreen.c nvram.c dsp.c crossbar.c microphone.c +ifeq ($(ENABLE_DSP_EMU),1) +FALCSRCS += dsp_core.c dsp_cpu.c dsp_disasm.c +INCFLAGS += -DENABLE_DSP_EMU=1 +endif # Set flags passed to the compiler (e.g. optimization flags) #CFLAGS := -g -O2 -Wall - CFLAGS += $(INCFLAGS) $(SDL_CFLAGS) - - -FALCSRCS = videl.c hostscreen.c nvram.c dsp.c -ifeq ($(ENABLE_DSP_EMU),1) -FALCSRCS += dsp_core.c dsp_cpu.c dsp_disasm.c -CPPFLAGS += -DENABLE_DSP_EMU=1 -endif - FALCOBJS = $(FALCSRCS:.c=.o) @@ -34,14 +31,14 @@ falcon.a: $(FALCOBJS) clean: - $(RM) *.o + $(RM) *.o falcon.a distclean: clean $(RM) Makefile.dep *~ *.bak *.orig # Use "make depend" to generate file dependencies: -Makefile.dep: Makefile +Makefile.dep: Makefile ../Makefile $(CC) -M $(CFLAGS) $(FALCSRCS) > Makefile.dep depend: Makefile.dep