summaryrefslogtreecommitdiff
path: root/Host/libnxt-0.3/flash_write/Makefile
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-01-04 09:06:36 +0800
committerTat-Chee Wan (USM)2011-01-04 09:06:36 +0800
commitffbef9f7acbdb30d326b73bc72bf21d12976d1d0 (patch)
treeef590520b4df018938bbe7850a14befdcdfdc1b8 /Host/libnxt-0.3/flash_write/Makefile
parentc0201887f08821d20a05bce2ec303c773a3f4b4b (diff)
removed libnxt dependency, building requires libusb-legacy on macosx
Diffstat (limited to 'Host/libnxt-0.3/flash_write/Makefile')
-rw-r--r--Host/libnxt-0.3/flash_write/Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/Host/libnxt-0.3/flash_write/Makefile b/Host/libnxt-0.3/flash_write/Makefile
deleted file mode 100644
index 93bb888..0000000
--- a/Host/libnxt-0.3/flash_write/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-#all:
-# gcc -Wall -O0 -mcpu=arm7tdmi-s -mapcs -mthumb-interwork -o flash.o flash.c -nostartfiles -nodefaultlibs -nostdlib -Wl,-e,main
-# objcopy -Obinary -j.text flash.o flash.bin
-# objdump --disassemble-all -bbinary -marm7tdmi flash.bin > flash.asm
-#
-
-CC=`which arm-elf-gcc`
-AS=`which arm-elf-as`
-LD=`which arm-elf-ld`
-OBJCOPY=`which arm-elf-objcopy`
-
-all:
- $(CC) -W -Wall -O3 -msoft-float -mcpu=arm7tdmi -mapcs -c -o flash.o flash.c
- $(AS) --warn -mfpu=softfpa -mcpu=arm7tdmi -mapcs-32 -o crt0.o crt0.s
- $(LD) -O3 --gc-sections crt0.o flash.o -o flash.elf
- $(OBJCOPY) -O binary flash.elf flash.bin
-
-clean:
- rm -f flash.o crt0.o flash.elf flash.bin