And build normal and profiled libraries by default

This commit is contained in:
Don Stewart 2005-04-29 07:54:37 +00:00
parent 7a73983d1e
commit ba8ab05329
2 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,8 @@ all: build EvalHaskell.h
build::
cd src && $(MAKE)
@find src -name depend -exec rm {} \;
cd src && $(MAKE) way=p
EvalHaskell.h: build
cp src/eval/Eval/Haskell_stub.h $@
@ -21,7 +23,7 @@ EvalHaskell.h: build
install:
$(INSTALL_DATA_DIR) $(LIBDIR)/include
$(INSTALL_DATA) EvalHaskell.h $(LIBDIR)/include
@(cd src && $(MAKE) install)
@(cd src && $(MAKE) install && $(MAKE) install way=p)
#
# and register the library with ghc package system

View File

@ -3,7 +3,7 @@ UPKG = Eval
ALL_SRCS=$(wildcard $(patsubst ./%, %, $(patsubst %, %/*.hs, . $(UPKG))))
STUBOBJS =Eval/Haskell_stub.o
STUBOBJS =Eval/Haskell_stub.$(way_)o
TOP=../..
include ../build.mk