--- /dev/null
+SRC=$(wildcard include/* source/*)
+
+all: pinmux
+
+.cleanup.stamp: $(SRC) ../halcogen-cleanup.sh
+ ../halcogen-cleanup.sh --output rpp/ $(SRC)
+ touch $@
+
+
+
+.PHONY: pinmux
+pinmux: .cleanup.stamp
+ cp rpp/include/sys/sys_pinmux.h ../../rpp/include/sys/_$(notdir $(CURDIR))
+ cp rpp/include/sys/reg_pinmux.h ../../rpp/include/sys/_$(notdir $(CURDIR))
+ cp rpp/src/sys/sys_pinmux.c ../../rpp/src/sys/_$(notdir $(CURDIR))