]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/c/blip/Makefile
commit svn HEAD of blip into core to start merge testing
[tinyos-2.x.git] / support / sdk / c / blip / Makefile
index 38caf5670a244d563f0ccd3bfe0456fd748c17e4..10cb1b93e8a957960f5a0f0c121722b6698ebae2 100644 (file)
@@ -1,12 +1,16 @@
 
+ifneq ($(filter lpl,$(MAKECMDGOALS)),)
+       EXTRATARGETS+=lpl
+endif
+
+lpl: all
+
 all:
        cd lib6lowpan && make
        cp lib6lowpan/lib6lowpan.a .
-
-       cd driver && make
-       cp driver/ip-driver .
+       cd driver && make $(EXTRATARGETS)
 
 clean:
        cd lib6lowpan && make clean
        cd driver && make clean
-       rm lib6lowpan.a ip-driver
+       rm -f lib6lowpan.a ip-driver