HelloWorld/Makefile

44 lines
781 B
Makefile

compile: c cs java bash php perl python
install: compile
@echo This project cannot be installed.
test: compile
python3 -m pytest
clean:
cat .gitignore | xargs -n 1 rm -Rf
diff:
@echo Nothing to do.
reverse:
@echo Nothing to do.
checkperm:
@echo Nothing to do.
c: helloworld.c /usr/bin/gcc
gcc -o helloworld helloworld.c
java: helloworld.java /usr/bin/java /usr/bin/javac
javac helloworld.java
bash: helloworld.bash /usr/bin/bash
#bash helloworld.bash
php: helloworld.php /usr/bin/php
#php helloworld.php
#hack: helloworld.php /usr/bin/hhvm
#hhvm --php helloworld.php
perl: helloworld.pl /usr/bin/perl
#perl ./helloworld.pl
python: helloworld.py /usr/bin/python3
#python3 ./helloworld.py
cs: helloworld.cs /usr/bin/mono /usr/bin/mcs
mcs helloworld.cs