FuckyWucky/Makefile

25 lines
509 B
Makefile

CC = gcc
FLAGS = -m32 -nostdlib -nostdinc -static -Wall -O2
clean: hash pi
@echo $(step_count)
${CC} ${FLAGS} main.c -o 0.out
remove: clean_pi
echo "#define output" > hash.txt
rm *.out
hash:
./jasmin.sh
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