diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-03-14 23:41:28 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-03-14 23:41:28 -0700 |
commit | ca5444e6cd8b566bd4ad78e84162e03ec18e01b6 (patch) | |
tree | 64369de8ac0ef6214112340da70c78c474567dc7 /py | |
parent | 0a64c92a9c3bd7d648c8a0d087fa7e739a5eeaa3 (diff) | |
download | micropython-ca5444e6cd8b566bd4ad78e84162e03ec18e01b6.tar.gz micropython-ca5444e6cd8b566bd4ad78e84162e03ec18e01b6.zip |
stmhal - add pin mapping, gpio, exti, usrsw
Diffstat (limited to 'py')
-rw-r--r-- | py/mkrules.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk index 1ab3ee59ba..2730eff415 100644 --- a/py/mkrules.mk +++ b/py/mkrules.mk @@ -45,6 +45,10 @@ vpath %.c . $(TOP) $(BUILD)/%.o: %.c $(call compile_c) +$(BUILD)/%.pp: %.c + $(ECHO) "PreProcess $<" + $(Q)$(CC) $(CFLAGS) -E -Wp,-C,-dD,-dI -o $@ $< + # The following rule uses | to create an order only prereuisite. Order only # prerequisites only get built if they don't exist. They don't cause timestamp # checkng to be performed. |