mxe/src/pthreads.mk

20 lines
588 B
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
# runtimes can/will have different implementations
# but the pre-requisite package and test are the same
PKG := pthreads
$(PKG)_CHECKSUM = $(pthreads-w32_CHECKSUM)
$(PKG)_FILE = $(pthreads-w32_FILE)
$(PKG)_DEPS := pthreads-w32 winpthreads
define $(PKG)_UPDATE
echo $(pthreads_VERSION)
endef
PTHREADS_TEST = \
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
'$(TOP_DIR)/src/pthreads-test.c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
-lpthread -lws2_32