mirror of
https://github.com/RustyRaptor/ProgrammingLanguages.git
synced 2026-12-03 21:55:15 -07:00
Added makefile for prolog
This commit is contained in:
1 parent
8d64031370
commit
56dfff3142
1 file changed
+4
-18
+4
-18
@@ -4,22 +4,8 @@ reset=`tput sgr0`
|
|||||||
|
|
||||||
# Variables so its easy to make changes if I need to (it ended up being helpful)
|
# Variables so its easy to make changes if I need to (it ended up being helpful)
|
||||||
|
|
||||||
all: test
|
all:
|
||||||
|
|
||||||
|
|
||||||
test: pa008/App.java pa008/Natural.java
|
test:
|
||||||
@echo "${green} Building and executing Java code ${reset}"
|
swipl -s list_operations_tests.pl -g run_tests,halt
|
||||||
javac -cp pa008/ pa008/*java
|
|
||||||
java -cp . pa008/App
|
|
||||||
|
|
||||||
run_ada: grade_distribution.adb
|
|
||||||
@echo "${green} Building and executing Ada code ${reset}"
|
|
||||||
gcc -c grade_distribution.adb
|
|
||||||
gnatbind grade_distribution
|
|
||||||
gnatlink grade_distribution
|
|
||||||
./grade_distribution
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf *.o
|
|
||||||
rm -rf *.ali
|
|
||||||
rm -rf grade_distribution
|
|
||||||
rm -rf pa008/*.class
|
|
||||||
Reference in new issue
Block a user