Building examples requires OCLib.a to be built first
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 5 Sep 2014 00:05:52 +0000 (17:05 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 11 Sep 2014 17:54:42 +0000 (10:54 -0700)
Change-Id: I2864d8c2adc7373f6a7c6ed5619f671af26c5727
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
makefile

index 2a01111..f60fc1b 100644 (file)
--- a/makefile
+++ b/makefile
@@ -48,7 +48,7 @@ prep_dirs:
 c_sdk:
        cd csdk && $(MAKE) "BUILD=$(BUILD)"
 
-examples:
+examples: liboc.a
        cd examples && $(MAKE) "BUILD=$(BUILD)"
 
 liboc.a: OCPlatform.o OCResource.o OCUtilities.o InProcServerWrapper.o InProcClientWrapper.o