diff options
Diffstat (limited to 'test/monniaux/multithreaded_volatile/Makefile')
-rw-r--r-- | test/monniaux/multithreaded_volatile/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/monniaux/multithreaded_volatile/Makefile b/test/monniaux/multithreaded_volatile/Makefile new file mode 100644 index 00000000..6c7dd663 --- /dev/null +++ b/test/monniaux/multithreaded_volatile/Makefile @@ -0,0 +1,18 @@ +all: volatile.ccomp.kvx volatile.gcc.kvx + +volatile.ccomp.kvx : volatile.ccomp.kvx.s + k1-cos-gcc $< -o $@ + +volatile.gcc.kvx : volatile.gcc.kvx.s + k1-cos-gcc $< -o $@ + +volatile.ccomp.kvx.s : volatile.c + ../../../ccomp -O2 -Wall -S $< -o $@ + +volatile.gcc.kvx.s : volatile.c + k1-cos-gcc -O2 -Wall -Werror=implicit -std=gnu99 -S $< -o $@ + +clean: + -rm -f *.kvx *.s + +.PHONY: clean |