|
|
1.1 root 1: # Makefile for Hatari's debugging & tracing support.
2:
3: CPUDIR ?= uae-cpu
4:
5: # Include settings
6: include ../../Makefile.cnf
7:
8: # Additional include directories:
9: INCFLAGS = -I. -I../.. -I../includes -I../$(CPUDIR) -I../falcon $(CPPFLAGS)
10:
11: SRCS = log.c debugui.c breakcond.c debugcpu.c debugInfo.c symbols.c evaluate.c
12: ifeq ($(ENABLE_DSP_EMU),1)
13: SRCS += debugdsp.c
14: INCFLAGS += -DENABLE_DSP_EMU=1
15: endif
16:
17: # Set extra flags passed to the compiler
18: CFLAGS += $(INCFLAGS) $(SDL_CFLAGS)
19:
20:
21: OBJS = $(SRCS:.c=.o)
22:
23: all: debug.a
24:
25: debug.a: $(OBJS)
26: $(AR) cru $@ $^
27: $(RANLIB) $@
28:
29:
30: clean:
31: $(RM) *.o debug.a
32:
33: distclean: clean
34: $(RM) Makefile.dep *~ *.bak *.orig
35:
36:
37: # Use "make depend" to generate file dependencies:
38: Makefile.dep: Makefile ../Makefile
39: $(CC) -M $(CFLAGS) $(SRCS) > Makefile.dep
40:
41: depend: Makefile.dep
42:
43: -include Makefile.dep
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.