Commit cd3b0b74 authored by bbr's avatar bbr
Browse files

dependency for PreTrans in Makefile

parent d47cec9b
......@@ -12,7 +12,7 @@ all: $(SRC)InstallDir.hs $(BIN)generate $(BIN)kicslib $(BIN)kics $(BIN)kicsi lib
.PHONY: tools
tools: $(SRC)InstallDir.hs $(BIN)makeExternalInterface
$(BIN)generate: $(SRC)InstallDir.hs $(SRC)Generate.hs $(SRC)CurryToHaskell.hs
$(BIN)generate: $(SRC)InstallDir.hs $(SRC)Generate.hs $(SRC)CurryToHaskell.hs $(SRC)PreTrans.hs
$(GHC) $(SRC)Generate.hs -o $(BIN)generate
cd $(SRC)
$(BIN)generate $(SRC)
......@@ -29,7 +29,7 @@ $(BIN)kicslib: $(SRC)InstallDir.hs $(SRC)kicslib.hs $(SRC)Config.hs
$(BIN)makeExternalInterface: $(SRC)InstallDir.hs $(BIN)kicslib
$(KGHC) $(SRC)MakeExternalInterface -o $(BIN)makeExternalInterface
$(BIN)kicsi: $(BIN)kicslib $(SRC)CurryToHaskell.hs $(SRC)kicsi.hs
$(BIN)kicsi: $(BIN)kicslib $(SRC)CurryToHaskell.hs $(SRC)kicsi.hs $(SRC)PreTrans.hs
ifeq (,$(filter readline%,$(shell ghc-pkg list readline)))
@echo no readline package found
cp $(SRC)NoReadline.make $(SRC)MyReadline.hs
......@@ -39,7 +39,7 @@ else
endif
$(KGHC) $(SRC)kicsi -o $(BIN)kicsi
$(BIN)kics: $(BIN)kicslib $(SRC)CurryToHaskell.hs
$(BIN)kics: $(BIN)kicslib $(SRC)CurryToHaskell.hs $(SRC)PreTrans.hs
$(KGHC) $(SRC)kics -o $(BIN)kics
.PHONY: runtime
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment