summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index c8b87ae5eb..df7005ea40 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -26,12 +26,12 @@ CFLAGS = -Os -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fs
26AFLAGS += -small -relax 26AFLAGS += -small -relax
27 27
28SRC := $(wildcard drivers/*.c common/*.c *.c) 28SRC := $(wildcard drivers/*.c common/*.c *.c)
29OBJS := $(SRC:%.c=%.o) crt0.o 29OBJS := $(SRC:%.c=%.o) $(FIRMWARE)/crt0.o
30 30
31all : archos.mod # archos.asm 31all : archos.mod # archos.asm
32 32
33archos.elf : $(OBJS) $(FIRMWARE)/app.lds 33archos.elf : $(OBJS) $(FIRMWARE)/app.lds
34 $(CC) -nostdlib -o archos.elf $(OBJS) -lgcc -lc -T$(FIRMWARE)/app.lds -Wl,-Map,archos.map 34 $(CC) -nostdlib -o archos.elf $(OBJS) -lrockbox -lgcc -lc -L$(FIRMWARE) -T$(FIRMWARE)/app.lds -Wl,-Map,archos.map
35 35
36archos.bin : archos.elf 36archos.bin : archos.elf
37 $(OC) -O binary archos.elf archos.bin 37 $(OC) -O binary archos.elf archos.bin