summaryrefslogtreecommitdiff
path: root/ao-bringup/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-02-26 10:33:13 -0800
committerKeith Packard <keithp@keithp.com>2010-02-26 10:33:13 -0800
commit461d4a1948e112ec7353caf88967391d876469dd (patch)
tree5d3d0a17b8dfefcfe7b1fd05fbea22c1b7be86b9 /ao-bringup/Makefile
parent5d7a3a5fbc0af4621c67a6fd51a9c9d5ae688fa5 (diff)
Add LED test
Diffstat (limited to 'ao-bringup/Makefile')
-rw-r--r--ao-bringup/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/ao-bringup/Makefile b/ao-bringup/Makefile
index 805b2550..cacbc161 100644
--- a/ao-bringup/Makefile
+++ b/ao-bringup/Makefile
@@ -17,7 +17,12 @@ XMIT_SRC = \
ao_radio_xmit.c
XMIT_REL=$(XMIT_SRC:.c=.rel) $(BRINGUP_REL)
-SRC=$(BRINGUP_SRC) $(XMIT_SRC)
+LED_SRC = \
+ ao_led_blink.c
+
+LED_REL=$(LED_SRC:.c=.rel) $(BRINGUP_REL)
+
+SRC=$(BRINGUP_SRC) $(XMIT_SRC) $(LED_SRC)
ADB=$(SRC:.c=.adb)
ASM=$(SRC:.c=.asm)
@@ -27,7 +32,7 @@ REL=$(SRC:.c=.rel)
RST=$(SRC:.c=.rst)
SYM=$(SRC:.c=.sym)
-PROGS=ao_radio_xmit.ihx
+PROGS=ao_radio_xmit.ihx ao_led_blink.ihx
PCDB=$(PROGS:.ihx=.cdb)
PLNK=$(PROGS:.ihx=.lnk)
@@ -43,6 +48,9 @@ all: $(PROGS)
ao_radio_xmit.ihx: $(XMIT_REL)
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(XMIT_REL)
+ao_led_blink.ihx: $(LED_REL)
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(LED_REL)
+
clean:
rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM)
rm -f $(PROGS) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM)