HelloWorld/Makefile

52 lines
919 B
Makefile
Raw Normal View History

2017-06-19 16:33:59 -05:00
INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash
all: c csharp java bash php hack perl
echo Done;
2017-06-19 16:33:59 -05:00
compile:
[ -f helloworld.c ]
install: compile
@echo This project cannot be installed.
test: all
clean:
@echo Nothing to do.
c: helloworld.c /usr/bin/gcc
gcc -o helloworld helloworld.c
./helloworld
rm ./helloworld
java: helloworld.java /usr/bin/java /usr/bin/javac
javac helloworld.java
java helloworld
rm helloworld.class
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
csharp: helloworld.csharp /usr/bin/mono /usr/bin/mcs
mcs helloworld.csharp
mono helloworld.exe
rm helloworld.exe
2017-06-19 16:33:59 -05:00
diff:
@echo Nothing to do.
reverse:
@echo Nothing to do.
checkperm:
@echo Nothing to do.