summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-08-01 01:47:22 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-08-01 01:47:22 +0000
commit2450e7afafd1100f8a34ebabeba267072125adfb (patch)
tree8019c06e5f94dcb9f1b714358dacdb9516acd164 /apps/Makefile
parentfe95c863e0359bc1bcbde4872495f73fc62de20d (diff)
$< and were backwards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3908 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 2cbb42c0c7..e30cf5bc5c 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -7,8 +7,8 @@
# $Id$
#
-# $< is the name to the left of the colon
-# $@ is the first name to the right of the colon
+# $@ is the name to the left of the colon
+# $> is the first name to the right of the colon
CC = sh-elf-gcc
LD = sh-elf-ld
@@ -90,22 +90,22 @@ $(LINKFILE): $(LDS)
cat $< | $(CC) -DMEMORYSIZE=$(MEM) $(DEFINES) -E -P - >$@
$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a
- $(CC) -Os -nostdlib -o $< $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMWARE) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
+ $(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMWARE) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
$(OBJDIR)/rockbox.bin : $(OBJDIR)/rockbox.elf
- $(OC) -O binary $@ $<
+ $(OC) -O binary $< $@
$(OBJDIR)/rockbox.asm: $(OBJDIR)/rockbox.bin
- $(TOOLSDIR)/sh2d -sh1 $@ > $<
+ $(TOOLSDIR)/sh2d -sh1 $< > $@
$(OBJDIR)/$(OUTNAME) : $(OBJDIR)/rockbox.bin
- $(TOOLSDIR)/scramble $(SCRAMBLE_OPT) $@ $<
+ $(TOOLSDIR)/scramble $(SCRAMBLE_OPT) $< $@
$(OBJDIR)/rockbox.ucl: $(OBJDIR)/rockbox.bin
@a=`uclpack -h 2>/dev/null`; \
if test -n "$$a"; then \
echo "runs uclpack"; \
- uclpack --best --2e $< $@ >/dev/null 2>&1; \
+ uclpack --best --2e $< $< >/dev/null 2>&1; \
else \
echo "no uclpack command found, makes a fake UCL file"; \
echo "fake" > $@; \