Skip to content

Commit

Permalink
Improve Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaljurand committed Aug 25, 2018
1 parent b93fc12 commit a110cc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Unofficial Makefile for some tasks
# Tested only on Ubuntu Linux.
# For Windows builds use make_exe.bat

SHELL=/bin/bash

swipl = swipl
version = 6.7

text1 = "John likes Mary."
Expand All @@ -17,14 +18,15 @@ help:
@echo Targets:
@echo
@echo " build: builds ape.exe"
@echo "install: (same as build)"
@echo " doc: generates documentation"
@echo " clean: deletes automatically generatable files"
@echo " test: runs some tests"
@echo


build:
swipl -O -F none -g "working_directory(_, 'prolog/parser'), [fit_to_plp], halt." -t halt ; swipl -O -f ape.pl -g "qsave_program('ape.exe', [goal(ape), toplevel(halt)])." -t halt
$(swipl) -O -F none -g "working_directory(_, 'prolog/parser'), [fit_to_plp], halt." -t halt ; $(swipl) -O -f ape.pl -g "qsave_program('ape.exe', [goal(ape), toplevel(halt)])." -t halt

install: build

Expand Down

0 comments on commit a110cc9

Please sign in to comment.