summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile8
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
23CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) 23CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) -DDEBUG
24AFLAGS += -small -relax 24AFLAGS += -small -relax
25 25
26SRC := $(wildcard drivers/*.c common/*.c *.c) 26SRC := $(wildcard drivers/*.c common/*.c *.c)
27OBJS := $(SRC:%.c=%.o) 27OBJS := $(SRC:%.c=%.o) crt0.o
28
29%.o: %.s
30 $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<
31
32 28
33all : archos.mod # archos.asm 29all : archos.mod # archos.asm
34 30