From ea8e27fe49626b0acd7318081e8dea9fe692ef73 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Tue, 4 Jul 2006 16:40:50 +0000 Subject: [PATCH] new stuff --- firmware/WDC/makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 firmware/WDC/makefile diff --git a/firmware/WDC/makefile b/firmware/WDC/makefile new file mode 100644 index 0000000..74d4411 --- /dev/null +++ b/firmware/WDC/makefile @@ -0,0 +1,16 @@ +VERSION=4.2 + +AS=u80as +LD=ld +STRIP=strip -h +OBJECTS=wdc.firm.o + +all: $(OBJECTS) + $(LD) -o wdc.firm $(OBJECTS) + $(STRIP) wdc.firm + dd if=wdc.firm of=WDC_1_$(VERSION) bs=1 count=4096 >&/dev/null + dd if=wdc.firm of=WDC_2_$(VERSION) bs=1 skip=4096 >&/dev/null + +clean: + rm -f WDC_1_$(VERSION) WDC_2_$(VERSION) wdc.firm $(OBJECTS) +