diff src/boost.mk @ 900:27fc875921a2

add test program for package boost
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 25 Apr 2010 13:22:44 +0200
parents d74f83417a91
children 9a8f1b49a25f
line wrap: on
line diff
--- a/src/boost.mk	Sun Apr 25 13:22:09 2010 +0200
+++ b/src/boost.mk	Sun Apr 25 13:22:44 2010 +0200
@@ -43,4 +43,9 @@
         -sEXPAT_INCLUDE='$(PREFIX)/$(TARGET)/include' \
         -sEXPAT_LIBPATH='$(PREFIX)/$(TARGET)/lib' \
         stage install
+
+    '$(TARGET)-g++' \
+        -W -Wall -Werror -std=c++98 -U__STRICT_ANSI__ -pedantic \
+        '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-boost.exe' \
+        -lboost_serialization-mt
 endef