summaryrefslogtreecommitdiff
path: root/cctools/target/timer/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-08-18 12:40:24 -0700
committerKeith Packard <keithp@keithp.com>2009-08-18 12:40:24 -0700
commit9789ca5e8caa9a013e804f307b9da380e147bd75 (patch)
tree0bba9fdba9d761d0ead763ab593bc51d1658a693 /cctools/target/timer/Makefile
parenta5782398d968e7cb11f7203afada7c216f233b3b (diff)
Rename tools to ao-<foo>
Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'cctools/target/timer/Makefile')
-rw-r--r--cctools/target/timer/Makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/cctools/target/timer/Makefile b/cctools/target/timer/Makefile
deleted file mode 100644
index 99e06b8d..00000000
--- a/cctools/target/timer/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-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=-L/usr/share/sdcc/lib/large --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=timer.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=timer-flash.ihx timer-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)
-
-timer-ram.ihx: $(REL) Makefile
- $(CC) $(LDFLAGS_RAM) $(CFLAGS) -o timer-ram.ihx $(REL)
- $(CC) $(LDFLAGS_FLASH) $(CFLAGS) -o timer-flash.ihx $(REL)
-
-timer-flash.ihx: timer-ram.ihx
-
-clean:
- rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM)
- rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM)