summaryrefslogtreecommitdiff
path: root/mingw.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mingw.mak')
-rw-r--r--mingw.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/mingw.mak b/mingw.mak
index df70bc5..2c98a63 100644
--- a/mingw.mak
+++ b/mingw.mak
@@ -7,6 +7,8 @@
# http://www.mingw.org/
.PHONY: test check
+UNIFILE=1
+CC = gcc
prefix=c:/usr/local
ENABLE_NLS=
@@ -16,7 +18,7 @@ ZIPOBJ_EXTRA = bin/libintl-8.dll bin/libiconv-2.dll
endif
all:
- $(MAKE) all EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LIBS_EXTRA="$(LIBS_EXTRA)" prefix=$(prefix) LINK="cp -f"
+ $(MAKE) all EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LIBS_EXTRA="$(LIBS_EXTRA)" prefix=$(prefix) LINK="cp -f" CC=$(CC) UNIFILE=$(UNIFILE)
test: all
cd test; $(MAKE) test
@@ -24,7 +26,7 @@ test: all
check: test
install:
- $(MAKE) install EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LIBS_EXTRA="$(LIBS_EXTRA)" prefix=$(prefix) LINK="cp -f"
+ $(MAKE) install EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LIBS_EXTRA="$(LIBS_EXTRA)" prefix=$(prefix) LINK="cp -f" CC=$(CC) UNIFILE=$(UNIFILE)
uninstall:
$(MAKE) uninstall EXE=.exe prefix=$(prefix)