summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2fd8ec6d..801068cd 100644
--- 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 \
- ccdbg-io.o ccdbg-memory.o \
+ ccdbg-hex.o ccdbg-io.o ccdbg-memory.o \
$(LIBUSB_OBJS)
INCS=ccdbg.h cccp.h
PROG=ccdbg
+LOAD=blink
+
+all: $(PROG) $(LOAD)
+
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@@ -23,3 +27,6 @@ clean:
rm -f $(PROG) $(OBJS)
$(OBJS): $(INCS)
+
+blink: blink.c Makefile.blink
+ make -f Makefile.blink