HelloWorld/Makefile

30 lines
606 B
Makefile
Raw Normal View History

all: c csharp java bash php hack perl
echo Done;
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