From 208bc15714c7b4020c017eef19011c4eb9ab51e2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 4 Jun 2009 11:20:10 -0700 Subject: Move build and debug tools to 'cctools' directory. These tools were merged in from the ccdbg package. Signed-off-by: Keith Packard --- target/beep-timer/Makefile | 47 ---------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 target/beep-timer/Makefile (limited to 'target/beep-timer/Makefile') diff --git a/target/beep-timer/Makefile b/target/beep-timer/Makefile deleted file mode 100644 index 008adbd5..00000000 --- a/target/beep-timer/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -PROG=beep_timer -CC=sdcc -NO_OPT=--nogcse --noinvariant --noinduction --nojtbound --noloopreverse \ - --nolabelopt --nooverlay --peep-asm -DEBUG=--debug - -CFLAGS=--model-large $(DEBUG) --less-pedantic \ - --no-peep --int-long-reent --float-reent \ - --data-loc 0x30 - -LDFLAGS=--out-fmt-ihx -LDFLAGS_RAM=$(LDFLAGS) --code-loc 0xf000 --xram-loc 0xf400 --xram-size 1024 - -LDFLAGS_FLASH=$(LDFLAGS) --code-loc 0x0000 --xram-loc 0xf000 --xram-size 1024 - -SRC=$(PROG).c -ADB=$(SRC:.c=.adb) -ASM=$(SRC:.c=.asm) -LNK=$(SRC:.c=.lnk) -LST=$(SRC:.c=.lst) -REL=$(SRC:.c=.rel) -RST=$(SRC:.c=.rst) -SYM=$(SRC:.c=.sym) - -PROGS=$(PROG)-flash.ihx $(PROG)-ram.ihx -PCDB=$(PROGS:.ihx=.cdb) -PLNK=$(PROGS:.ihx=.lnk) -PMAP=$(PROGS:.ihx=.map) -PMEM=$(PROGS:.ihx=.mem) -PAOM=$(PROGS:.ihx=) - -%.rel : %.c - $(CC) -c $(CFLAGS) -o$*.rel $< - -all: $(PROGS) - -$(PROG)-ram.ihx: $(REL) Makefile - $(CC) $(LDFLAGS_RAM) $(CFLAGS) -o $(PROG)-ram.ihx $(REL) - $(CC) $(LDFLAGS_FLASH) $(CFLAGS) -o $(PROG)-flash.ihx $(REL) - -$(PROG)-flash.ihx: $(PROG)-ram.ihx - -clean: - rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM) - rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM) - -install: -- cgit v1.2.3