HelloWorld/Makefile

48 lines
977 B
Makefile
Raw Normal View History

pkgdirname != basename `git config remote.origin.url` | sed 's/.git$$//'
2017-06-19 16:33:59 -05:00
2022-08-29 00:10:10 -05:00
compile: c java bash php perl python cs
@echo Done
2022-08-31 16:11:12 -05:00
install: clean compile
mkdir -p ${pkgdir}/opt/aninix/${pkgdirname}/
2022-08-31 16:11:12 -05:00
install -o root -m 0644 ./HelloWorld* ${pkgdir}/opt/aninix/${pkgdirname}/
2017-06-19 16:33:59 -05:00
clean:
for i in `cat .gitignore`; do /bin/bash -c "rm -Rf $$i"; done
2018-11-05 15:35:32 -06:00
2022-08-29 00:10:10 -05:00
uninstall:
rm -Rf ${pkgdir}/opt/aninix/${pkgdirname}/
test: compile
python3 -m pytest
checkperm:
2018-11-05 15:35:32 -06:00
@echo Nothing to do.
diff:
2018-11-05 15:35:32 -06:00
@echo Nothing to do.
reverse:
2018-11-05 15:35:32 -06:00
@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
2023-10-03 12:43:34 -05:00
java: HelloWorld.java /usr/bin/javac /usr/bin/java
/usr/bin/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
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