From e59d3712c208715f7e64cb22f82b0b1d77b6cda9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 13 May 2001 11:46:00 +0000 Subject: [PATCH] Borland and Cygwin makefiles now support XFLAGS. [originally from svn r1117] --- mkfiles.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkfiles.pl b/mkfiles.pl index f64fbaf8..e9b26cea 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -89,7 +89,7 @@ print ".SUFFIXES:\n". "\n". "%.o: %.c\n". -"\t\$(CC) \$(FWHACK) \$(CFLAGS) -c \$<\n". +"\t\$(CC) \$(COMPAT) \$(FWHACK) \$(XFLAGS) \$(CFLAGS) -c \$<\n". "\n". "%.res.o: %.rc\n". "\t\$(RC) \$(FWHACK) \$(RCFL) \$(RCFLAGS) \$< \$\@\n". @@ -135,7 +135,7 @@ print "!endif\n". "\n". ".c.obj:\n". -"\tbcc32 \$(COMPAT) \$(FWHACK) \$(CFLAGS) /c \$*.c\n". +"\tbcc32 \$(COMPAT) \$(FWHACK) \$(XFLAGS) \$(CFLAGS) /c \$*.c\n". ".rc.res:\n". "\tbrcc32 \$(FWHACK) \$(RCFL) -i \$(BCB)\\include \\\n". "\t\t-r -DNO_WINRESRC_H -DWIN32 -D_WIN32 -DWINVER=0x0400 \$*.rc\n".