2018-11-05 15:35:32 -06:00
|
|
|
compile: c cs java bash php perl python
|
2019-04-15 14:53:57 -05:00
|
|
|
pkgdirname != basename `git config remote.origin.url` | sed 's/.git$$//'
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2019-04-15 14:53:57 -05:00
|
|
|
install: clean
|
|
|
|
mkdir -p ${pkgdir}/opt/aninix/${pkgdirname}/
|
|
|
|
rsync -avz --exclude=Makefile --exclude=LICENSE --exclude=.git* --exclude=README . * ${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:
|
2018-11-05 15:35:32 -06:00
|
|
|
cat .gitignore | xargs -n 1 rm -Rf
|
|
|
|
|
|
|
|
diff:
|
|
|
|
@echo Nothing to do.
|
|
|
|
|
|
|
|
reverse:
|
|
|
|
@echo Nothing to do.
|
|
|
|
|
|
|
|
checkperm:
|
|
|
|
@echo Nothing to do.
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2016-08-04 12:13:12 -05:00
|
|
|
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
|
2018-11-05 15:35:32 -06:00
|
|
|
#bash helloworld.bash
|
2016-08-04 12:13:12 -05:00
|
|
|
|
|
|
|
php: helloworld.php /usr/bin/php
|
2018-11-05 15:35:32 -06:00
|
|
|
#php helloworld.php
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2018-11-05 15:35:32 -06:00
|
|
|
#hack: helloworld.php /usr/bin/hhvm
|
|
|
|
#hhvm --php helloworld.php
|
2016-08-04 12:13:12 -05:00
|
|
|
|
|
|
|
perl: helloworld.pl /usr/bin/perl
|
2018-11-05 15:35:32 -06:00
|
|
|
#perl ./helloworld.pl
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2018-11-05 15:35:32 -06:00
|
|
|
python: helloworld.py /usr/bin/python3
|
|
|
|
#python3 ./helloworld.py
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2019-04-15 14:53:57 -05:00
|
|
|
cs: HelloWorld.cs /usr/bin/mono /usr/bin/mcs
|
|
|
|
mcs HelloWorld.cs
|