summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/os/mingw.mk
blob: b71736b2aac558a2ff4dda17c93e32bc312cf955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
OS 		= mingw
OS_APP_PREFIX 	=
OS_APP_SUFFIX 	= .exe
OS_LIB_PREFIX 	= lib
OS_LIB_SUFFIX 	= .dll
OS_IMPLIB_EXT 	= .dll.a
OS_LIBDEF_EXT 	= .def
OS_ARCHIVE_EXT 	= .a

CFLAGS_PIC 	=
LDFLAGS_CONFIG	+= -Wl,--out-implib,$(SHARED_IMPLIB)

install-implib:	shared-implib
		mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
		cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)