diff options
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 90ce900cc9..91cb19955e 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -20,15 +20,11 @@ TARGET = -DARCHOS_PLAYER=1 | |||
20 | #TARGET = -DARCHOS_PLAYER_OLD=1 | 20 | #TARGET = -DARCHOS_PLAYER_OLD=1 |
21 | #TARGET = -DARCHOS_RECORDER=1 | 21 | #TARGET = -DARCHOS_RECORDER=1 |
22 | 22 | ||
23 | CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) | 23 | CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) -DDEBUG |
24 | AFLAGS += -small -relax | 24 | AFLAGS += -small -relax |
25 | 25 | ||
26 | SRC := $(wildcard drivers/*.c common/*.c *.c) | 26 | SRC := $(wildcard drivers/*.c common/*.c *.c) |
27 | OBJS := $(SRC:%.c=%.o) | 27 | OBJS := $(SRC:%.c=%.o) crt0.o |
28 | |||
29 | %.o: %.s | ||
30 | $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $< | ||
31 | |||
32 | 28 | ||
33 | all : archos.mod # archos.asm | 29 | all : archos.mod # archos.asm |
34 | 30 | ||