FuckyWucky/Makefile

25 lines
509 B
Makefile
Raw Normal View History

CC = gcc
FLAGS = -m32 -nostdlib -nostdinc -static -Wall -O2
2019-05-07 17:57:03 +00:00
clean: hash pi
@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
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