# -lm for math functions
# -lpapi for PAPI library
# -lrt for clock_* functions
# -pthread for pthread library

all:
	clear
#	/home/ppetrak/programming/tei/systemc/platform/arm-2010.09/bin/arm-none-linux-gnueabi-gcc -lm -lrt -pthread -Wall hyper4.c -o hyp
#	gcc -lm -lrt -lpapi -pthread -Wall children.c
	gcc -lm -lrt -pthread -Wall multi_hyper.c -o hyper.run
	gcc -pthread -lm dummy.c -o dum
#	gcc -Wall -lpapi -lm papitest.c -o pap
clean:
	rm hyper.run
	rm dum

assembly:
	gcc -c -g -Wa,-alh,-ad -fverbose-asm -lm -lrt -pthread multi_hyper.c
arm_assembly:
	/home/ppetrak/programming/tei/systemc/platform/arm-2010.09/bin/arm-none-linux-gnueabi-gcc -c -g -Wa,-alh,-ad -fverbose-asm -lm -lrt -pthread -Wall multi_hyper.c
#compile with make -B mul (to overwrite mul file)
