summaryrefslogtreecommitdiffstats
path: root/src/occApplet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/occApplet/Makefile')
-rwxr-xr-xsrc/occApplet/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/occApplet/Makefile b/src/occApplet/Makefile
new file mode 100755
index 0000000..1aa4200
--- /dev/null
+++ b/src/occApplet/Makefile
@@ -0,0 +1,53 @@
+# @file Makefile
+#
+# @brief OCC Applet Makefile
+#
+
+# @page ChangeLogs Change Logs
+# @section Makefile
+# @verbatim
+#
+#
+# Change Log ******************************************************************
+# Flag Defect/Feature User Date Description
+# ------ -------------- ---------- ------------ -----------
+# @pb001 pbavari 07/21/2011 Created
+# @rc003 rickylie 02/03/2012 Verify & Clean Up OCC Headers & Comments
+#
+# @endverbatim
+#
+
+# >> gitprep
+ifndef ROOTPATH
+ROOTPATH = $(shell pwd)/../
+export OCCROOT = $(ROOTPATH)
+endif
+# << gitprep
+
+#*******************************************************************************
+# mk variable Declaration
+#*******************************************************************************
+SUBDIRS = productApplet testApplet
+CLEANCMD = $(MAKE) clean -C $(dir);
+ALLCMD = $(MAKE) -j6 -C $(dir);
+COMBINEIMAGE = $(MAKE) combineImage -C $(dir);
+
+#*******************************************************************************
+# Compilation
+#*******************************************************************************
+all:
+ $(foreach dir,$(SUBDIRS),$(ALLCMD))
+
+#*******************************************************************************
+# combineImage
+#*******************************************************************************
+.PHONY : combineImage
+combineImage:
+ $(foreach dir,$(SUBDIRS),$(COMBINEIMAGE))
+
+#*******************************************************************************
+# Clean
+#*******************************************************************************
+clean:
+ $(foreach dir,$(SUBDIRS),$(CLEANCMD))
+
OpenPOWER on IntegriCloud