Rev 2924 | Rev 2936 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2924 | Rev 2935 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | ## Sources |
42 | ## Sources |
43 | # |
43 | # |
44 | 44 | ||
45 | OUTPUT = debug |
45 | OUTPUT = debug |
46 | GENERIC_SOURCES = cmd.c \ |
46 | GENERIC_SOURCES = cmd.c \ |
- | 47 | fib_synch.c \ |
|
47 | main.c |
48 | main.c |
48 | 49 | ||
49 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
50 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
50 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
51 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
51 | 52 | ||
Line 58... | Line 59... | ||
58 | 59 | ||
59 | -include Makefile.depend |
60 | -include Makefile.depend |
60 | 61 | ||
61 | clean: |
62 | clean: |
62 | -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch |
63 | -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch |
- | 64 | find . -name '*.o' -follow -exec rm \{\} \; |
|
63 | 65 | ||
64 | depend: |
66 | depend: |
65 | $(CC) $(DEFS) $(CFLAGS) -M $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend |
67 | $(CC) $(DEFS) $(CFLAGS) -M $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend |
66 | 68 | ||
67 | $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(LIBS) |
69 | $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(LIBS) |