Major overhaul getting started

This commit is contained in:
DarkFeather
2018-11-05 15:35:32 -06:00
parent 67f773bb45
commit d4a1aabfdc
12 changed files with 167 additions and 55 deletions

View File

@@ -1,45 +1,13 @@
INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash
all: c csharp java bash php hack perl
echo Done;
compile:
[ -f helloworld.c ]
compile: c cs java bash php perl python
install: compile
@echo This project cannot be installed.
test: all
test: compile
python3 -m pytest
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
cat .gitignore | xargs -n 1 rm -Rf
diff:
@echo Nothing to do.
@@ -49,3 +17,27 @@ reverse:
checkperm:
@echo Nothing to do.
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
#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
python: helloworld.py /usr/bin/python3
#python3 ./helloworld.py
cs: helloworld.cs /usr/bin/mono /usr/bin/mcs
mcs helloworld.cs