all: introduce and document G and H variables
[cavatools.git] / Makefile
index f0dc9a11695e2e8c2802befaf7bb64534d33ec5f..647e929e21924b2b9eedde9465e86d110337189e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,17 @@
+include arch.mk
+
+
 .PHONY:  nothing clean install
 nothing:
-       echo "clean, tarball, install?"
+       @echo "clean, tarball, install?"
+       @echo "G: allowed values: riscv64, ppc, ppc64"
+       @echo "H: allowed values: amd64"
 
 
 clean:
        rm -f $(HOME)/lib/libcava.a $(HOME)/lib/softfloat.a *~ ./#*#
        ( cd softfloat/build/Linux-x86_64-GCC; rm -f softfloat.a *.o )
-       make -C caveat    clean
+       make -C caveat    clean G=$G H=$H
        make -C cachesim  clean
        make -C pipesim   clean
        make -C traceinfo clean