--- hatari/src/falcon/Makefile 2019/04/01 07:13:46 1.1.1.1 +++ hatari/src/falcon/Makefile 2019/04/09 08:47:20 1.1.1.3 @@ -17,15 +17,20 @@ CFLAGS += $(INCFLAGS) $(SDL_CFLAGS) -FALCSRCS = videl.c hostscreen.c nvram.c +FALCSRCS = videl.c hostscreen.c nvram.c dsp.c ifeq ($(ENABLE_DSP_EMU),1) -FALCSRCS += dsp.c dsp_cpu.c dsp_disasm.c +FALCSRCS += dsp_core.c dsp_cpu.c dsp_disasm.c +CPPFLAGS += -DENABLE_DSP_EMU=1 endif FALCOBJS = $(FALCSRCS:.c=.o) -all: $(FALCOBJS) +all: falcon.a + +falcon.a: $(FALCOBJS) + $(AR) cru $@ $^ + $(RANLIB) $@ clean: