diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-16 14:48:17 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-16 14:48:17 +0000 |
commit | 6cb1f7b08b9b133dea21484262c4c33475c213a1 (patch) | |
tree | cf93441926222525316eb6fcd70e28a2fc01fc14 | |
parent | 28af55d61a6d392e73a37d0f3b50844459fae5ce (diff) | |
download | rockbox-6cb1f7b08b9b133dea21484262c4c33475c213a1.tar.gz rockbox-6cb1f7b08b9b133dea21484262c4c33475c213a1.zip |
Now uses librockbox.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@598 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/Makefile | 4 |
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 | |||
26 | AFLAGS += -small -relax | 26 | AFLAGS += -small -relax |
27 | 27 | ||
28 | SRC := $(wildcard drivers/*.c common/*.c *.c) | 28 | SRC := $(wildcard drivers/*.c common/*.c *.c) |
29 | OBJS := $(SRC:%.c=%.o) crt0.o | 29 | OBJS := $(SRC:%.c=%.o) $(FIRMWARE)/crt0.o |
30 | 30 | ||
31 | all : archos.mod # archos.asm | 31 | all : archos.mod # archos.asm |
32 | 32 | ||
33 | archos.elf : $(OBJS) $(FIRMWARE)/app.lds | 33 | archos.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 | ||
36 | archos.bin : archos.elf | 36 | archos.bin : archos.elf |
37 | $(OC) -O binary archos.elf archos.bin | 37 | $(OC) -O binary archos.elf archos.bin |