diff options
| author | Dan Halbert <halbert@halwitz.org> | 2017-10-13 14:51:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-13 14:51:09 -0400 |
| commit | 6e8fa8b3c9e99f461b3b8124c4c6939cc8305840 (patch) | |
| tree | 8fab7b8087481b89e45ea02a921e431da28103cf /py | |
| parent | b7591cfd19d308091dc67ae698c112cdb52a044f (diff) | |
| parent | 3c54e2c03c71522a81c24d349cb410fc8c1c1767 (diff) | |
Merge pull request #320 from dhalbert/master
merge 2.x changes into master; touch up Makefile CFLAGS logic
Diffstat (limited to 'py')
| -rw-r--r-- | py/mkrules.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk index 9ed5483b2..656ffd03c 100644 --- a/py/mkrules.mk +++ b/py/mkrules.mk @@ -46,6 +46,12 @@ vpath %.c . $(TOP) $(BUILD)/%.o: %.c $(call compile_c) +# frozen.c and frozen_mpy.c are created in $(BUILD), so use our rule +# for those as well. +vpath %.c . $(BUILD) +$(BUILD)/%.o: %.c + $(call compile_c) + # List all native flags since the current build system doesn't have # the MicroPython configuration available. However, these flags are # needed to extract all qstrings |
