HelloWorld/Makefile

48 lines
926 B
Makefile
Raw Normal View History

pkgdirname != basename `git config remote.origin.url` | sed 's/.git$$//'
2017-06-19 16:33:59 -05:00
compile: c cs java bash php perl python
@echo Done
install: clean
mkdir -p ${pkgdir}/opt/aninix/${pkgdirname}/
2019-04-15 15:58:35 -05:00
rsync -avzp HelloWorld* ${pkgdir}/opt/aninix/${pkgdirname}/
2017-06-19 16:33:59 -05:00
2018-11-05 15:35:32 -06:00
test: compile
python3 -m pytest
2017-06-19 16:33:59 -05:00
clean:
cat .gitignore | xargs rm -Rf
2018-11-05 15:35:32 -06:00
diff:
@echo Nothing to do.
reverse:
@echo Nothing to do.
checkperm:
@echo Nothing to do.
2017-06-19 16:33:59 -05:00
2019-04-15 15:58:35 -05:00
c: HelloWorld.c /usr/bin/gcc
gcc -o HelloWorld HelloWorld.c
2019-04-15 15:58:35 -05:00
java: HelloWorld.java /usr/bin/java /usr/bin/javac
javac HelloWorld.java
2019-04-15 15:58:35 -05:00
bash: HelloWorld.bash /usr/bin/bash
#bash HelloWorld.bash
2019-04-15 15:58:35 -05:00
php: HelloWorld.php /usr/bin/php
#php HelloWorld.php
2019-04-15 15:58:35 -05:00
#hack: HelloWorld.php /usr/bin/hhvm
#hhvm --php HelloWorld.php
2019-04-15 15:58:35 -05:00
perl: HelloWorld.pl /usr/bin/perl
#perl ./HelloWorld.pl
2019-04-15 15:58:35 -05:00
python: HelloWorld.py /usr/bin/python3
#python3 ./HelloWorld.py
2017-06-19 16:33:59 -05:00
cs: HelloWorld.cs /usr/bin/mono /usr/bin/mcs
mcs HelloWorld.cs