summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/makemakefile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/freeze/makemakefile.py')
-rw-r--r--Tools/freeze/makemakefile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py
index 4d9913e..b1bad2b 100644
--- a/Tools/freeze/makemakefile.py
+++ b/Tools/freeze/makemakefile.py
@@ -19,7 +19,7 @@ def makemakefile(outfp, makevars, files, target):
base = os.path.basename(file)
dest = base[:-2] + '.o'
outfp.write("%s: %s\n" % (dest, file))
- outfp.write("\t$(CC) $(CFLAGS) -c %s\n" % file)
+ outfp.write("\t$(CC) $(CFLAGS) $(CPPFLAGS) -c %s\n" % file)
files[i] = dest
deps.append(dest)