projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0e853f
)
Added rules for subdirectories
author
Ned Konz
<ned@productcreationstudio.com>
Thu, 20 Oct 2011 01:39:57 +0000
(18:39 -0700)
committer
Ned Konz
<ned@productcreationstudio.com>
Thu, 20 Oct 2011 01:39:57 +0000
(18:39 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 4c3b44b8321bf12f1972b0a94895e0e980be4775..a6545e83b64b54141b26ba3ea5ce126118e2a570 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,7
+15,7
@@
LDFLAGS=-lstlink -lusb-1.0 -lsgutils2 -L.
LIBRARY=libstlink.a
-all: $(LIBRARY) test_usb test_sg
+all: $(LIBRARY)
flash gdbserver
test_usb test_sg
$(LIBRARY): $(OBJS_LIB)
@echo "objs are $(OBJS_LIB)"
@@
-42,5
+42,15
@@
clean:
rm -rf $(LIBRARY)
rm -rf test_usb*
rm -rf test_sg*
+
+distclean: clean
+ $(MAKE) -C flash clean
+ $(MAKE) -C gdbserver clean
-.PHONY: clean all
+flash:
+ $(MAKE) -C flash
+
+gdbserver:
+ $(MAKE) -C gdbserver
+
+.PHONY: clean all flash gdbserver