projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ability to load Intel HEX files. Add sample sdcc LED blinker.
[fw/altos]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 2fd8ec6dfac8d97c56cb164bc66d6d57cfd2d83e..801068cdbdd4a3679a05e7d0c8f5cbb13382c419 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,12
+10,16
@@
KERNEL_OBJS=cccp.o
LIBUSB_OBJS=cp-usb.o
OBJS=ccdbg.o ccdbg-command.o ccdbg-debug.o \
LIBUSB_OBJS=cp-usb.o
OBJS=ccdbg.o ccdbg-command.o ccdbg-debug.o \
- ccdbg-io.o ccdbg-memory.o \
+ ccdbg-
hex.o ccdbg-
io.o ccdbg-memory.o \
$(LIBUSB_OBJS)
INCS=ccdbg.h cccp.h
PROG=ccdbg
$(LIBUSB_OBJS)
INCS=ccdbg.h cccp.h
PROG=ccdbg
+LOAD=blink
+
+all: $(PROG) $(LOAD)
+
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@@
-23,3
+27,6
@@
clean:
rm -f $(PROG) $(OBJS)
$(OBJS): $(INCS)
rm -f $(PROG) $(OBJS)
$(OBJS): $(INCS)
+
+blink: blink.c Makefile.blink
+ make -f Makefile.blink