From: Wolfgang T. <wth...@us...> - 2007-02-13 17:17:34
|
Update of /cvsroot/hoc/hoc/Tests In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv10721/Tests Modified Files: Makefile Log Message: Support dynamic linking in the makefiles. Use: make HocBuildDylibs=YES and sudo make install HocBuildDylibs=YES requires a GHC installation with dynamic libraries. Index: Makefile =================================================================== RCS file: /cvsroot/hoc/hoc/Tests/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 1 Nov 2006 15:45:05 -0000 1.3 +++ Makefile 13 Feb 2007 17:17:13 -0000 1.4 @@ -1,6 +1,12 @@ -check: TestFoundation.static +check: static dynamic + +static: TestFoundation.static ./TestFoundation.static +dynamic: TestFoundation.dynamic + ./TestFoundation.dynamic + + build: mkdir -p build/dynamic/imports mkdir -p build/dynamic/objects @@ -18,5 +24,7 @@ -package Foundation --make TestFoundation.hs clean: - -rm *.o *.hi TestFoundation + rm -rf build + rm -f TestFoundation.static + rm -f TestFoundation.dynamic |