2019-05-02 17:10:48 +00:00
|
|
|
CC = gcc
|
|
|
|
FLAGS = -m32 -nostdlib -nostdinc -static -Wall -O2
|
|
|
|
|
2019-05-07 17:57:03 +00:00
|
|
|
clean: hash pi
|
2019-05-02 17:10:48 +00:00
|
|
|
@echo $(step_count)
|
|
|
|
${CC} ${FLAGS} main.c -o 0.out
|
|
|
|
|
2019-05-07 17:57:03 +00:00
|
|
|
remove: clean_pi
|
2019-05-04 21:52:52 +00:00
|
|
|
echo "#define output" > hash.txt
|
2019-05-02 17:10:48 +00:00
|
|
|
rm *.out
|
2019-05-04 21:52:52 +00:00
|
|
|
|
|
|
|
hash:
|
|
|
|
./jasmin.sh
|
2019-05-07 17:57:03 +00:00
|
|
|
|
|
|
|
clean_pi:
|
|
|
|
rm -rf DeepNested/target
|
|
|
|
rm DeepNested/src/main/java/net/ahines/DeepNested/DeepNested.java
|
|
|
|
rm pi.txt
|
|
|
|
|
|
|
|
|
|
|
|
pi:
|
|
|
|
python3 nester.py > DeepNested/src/main/java/net/ahines/DeepNested/DeepNested.java
|
|
|
|
mvn -f DeepNested/pom.xml
|
|
|
|
java -jar DeepNested/target/DeepNested-1.0-SNAPSHOT.jar > pi.txt
|