summaryrefslogtreecommitdiff
path: root/mingw32.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mingw32.mak')
-rw-r--r--mingw32.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/mingw32.mak b/mingw32.mak
index 076b00d..fc53bce 100644
--- a/mingw32.mak
+++ b/mingw32.mak
@@ -4,6 +4,7 @@
# This makefile is for use with MSYS2 and MinGW-w64 target 32 bit (i686)
# http://sourceforge.net/projects/msys2/
+.PHONY: test check
CC = gcc
@@ -25,6 +26,11 @@ LIBS_EXTRA += $(CRT_GLOB_OBJ)
all:
$(MAKE) all EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LIBS_EXTRA="$(LIBS_EXTRA)" prefix=$(prefix) LINK="cp -f" CC=$(CC) CFLAGS_OS=-I/mingw32/include
+test: all
+ cd test; $(MAKE) test
+
+check: test
+
install:
$(MAKE) install EXE=.exe ENABLE_NLS=$(ENABLE_NLS) LIBS_EXTRA="$(LIBS_EXTRA)" prefix=$(prefix) LINK="cp -f" CC=$(CC) CFLAGS_OS=-I/mingw32/include