summaryrefslogtreecommitdiffstats
path: root/misc/regulator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/regulator/Makefile')
-rw-r--r--misc/regulator/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/regulator/Makefile b/misc/regulator/Makefile
new file mode 100644
index 0000000..7446839
--- /dev/null
+++ b/misc/regulator/Makefile
@@ -0,0 +1,20 @@
+#
+# RTEMS_MAKEFILE_PATH is typically set in an environment variable
+#
+
+PGM=${ARCH}/regulator_example.exe
+
+# C source names
+CSRCS = rtems_config.c regulator_example.c
+COBJS = $(CSRCS:%.c=${ARCH}/%.o)
+
+include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
+include $(RTEMS_CUSTOM)
+include $(PROJECT_ROOT)/make/leaf.cfg
+
+OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
+
+all: ${ARCH} $(PGM)
+
+$(PGM): $(OBJS)
+ $(make-exe)