13 lines
450 B
Diff
13 lines
450 B
Diff
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -104,8 +104,9 @@
|
|
-@rm -f $@
|
|
notangle -R'"array.h"' array.w | $(NOIDENT) | cpif array.h
|
|
|
|
+BUILD_CC ?= gcc
|
|
scancode.c : $(srcdir)/makescan.c scancode.h nstd.h config.h
|
|
- @ECHO_LD@$(CC) $(CFLAGS) $(CPPFLAGS) -o makescan.exe $(srcdir)/makescan.c
|
|
+ @ECHO_LD@$(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o makescan.exe $(srcdir)/makescan.c
|
|
rm -f scancode.c
|
|
./makescan.exe > scancode.c
|
|
rm makescan.exe
|