aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/ncompress/Makefile
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
commite8b35c4b975a46a5dc5e0c022897359cbfe2d72b (patch)
tree63eefc37ce7964ffbfdc847dabe8e59e5894b540 /test/monniaux/ncompress/Makefile
parent5ad25465f77c3009eaff7e9a124c254c1e9f33cd (diff)
downloadcompcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.tar.gz
compcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.zip
Makefiles now use rules.mk, and added a prohibition of unprototyped functions
Diffstat (limited to 'test/monniaux/ncompress/Makefile')
-rw-r--r--test/monniaux/ncompress/Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/test/monniaux/ncompress/Makefile b/test/monniaux/ncompress/Makefile
index 960d04d0..cf543976 100644
--- a/test/monniaux/ncompress/Makefile
+++ b/test/monniaux/ncompress/Makefile
@@ -1,29 +1,7 @@
-CFLAGS=-Wall -O3
-CCOMPFLAGS=-Wall -O3 -D_DEFAULT_SOURCE
-CCOMP=ccomp
-EXECUTE=k1-cluster --syscall=libstd_scalls.so --
-
-K1C_CC=k1-mbr-gcc
-K1C_CFLAGS=-Wall -O3 -std=c99
-K1C_CCOMP=../../../ccomp
-K1C_CCOMPFLAGS=-Wall -O3
+include ../rules.mk
all: check
-%.gcc.k1c.s: %.c
- $(K1C_CC) $(K1C_CFLAGS) -S $< -o $@
-
-%.gcc.k1c.o: %.gcc.k1c.s
- $(K1C_CC) $(K1C_CFLAGS) -c $< -o $@
-
-%.ccomp.k1c.s: %.c
- $(K1C_CCOMP) $(K1C_CCOMPFLAGS) -S $< -o $@
-
-%.ccomp.k1c.o: %.ccomp.k1c.s
- $(K1C_CCOMP) $(K1C_CCOMPFLAGS) -c $< -o $@
-
-%.gcc.host.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
all: compress.gcc.host compress.ccomp.host compress.gcc.k1c compress.ccomp.k1c