X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=mingw64.mak;h=3a78db7f2fe79d82d43d7c813c24958e5148109d;hb=68350a72ce24d6fb80949d74540f990400e2a224;hp=ba4315b04ccd9a7e35db99f2fc52cc60159dbabf;hpb=d4aefcf501a8b41f2a0d90c90d460251a26052a4;p=platform%2Fupstream%2Fdos2unix.git diff --git a/mingw64.mak b/mingw64.mak index ba4315b..3a78db7 100644 --- a/mingw64.mak +++ b/mingw64.mak @@ -4,6 +4,7 @@ # This makefile is for use with MSYS2 and MinGW-w64 target 64 bit (x86_64) # http://sourceforge.net/projects/msys2/ +.PHONY: test check # Ruben van Boxem x86_64-w64-mingw32 #CC = x86_64-w64-mingw32-gcc @@ -13,7 +14,7 @@ # MSYS2 CC = gcc STRIP = strip -CRT_GLOB_OBJ = C:/msys2/msys32/mingw64/x86_64-w64-mingw32/lib/CRT_glob.o +CRT_GLOB_OBJ = /mingw64/x86_64-w64-mingw32/lib/CRT_glob.o prefix=c:/usr/local64 ENABLE_NLS= @@ -27,6 +28,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/mingw64/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/mingw64/include