From 255cee09b71255051c2b40eae0c88bffce1f6f32 Mon Sep 17 00:00:00 2001 From: xleroy Date: Sat, 20 Apr 2013 07:54:52 +0000 Subject: Big merge of the newregalloc-int64 branch. Lots of changes in two directions: 1- new register allocator (+ live range splitting, spilling&reloading, etc) based on a posteriori validation using the Rideau-Leroy algorithm 2- support for 64-bit integer arithmetic (type "long long"). git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2200 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- runtime/Makefile | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'runtime/Makefile') diff --git a/runtime/Makefile b/runtime/Makefile index c128ba24..5550e6b6 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -2,26 +2,34 @@ include ../Makefile.config CFLAGS=-O1 -g -Wall INCLUDES= -OBJS= +OBJS=int64.o LIB=libcompcert.a -ifeq ($(strip $(HAS_RUNTIME_LIB)),true) all: $(LIB) $(INCLUDES) -else -all: -endif $(LIB): $(OBJS) rm -f $(LIB) ar rcs $(LIB) $(OBJS) -clean: +%.o: $(ARCH)/%.s + $(CASM) $^ + +clean:: rm -f *.o $(LIB) -ifeq ($(strip $(HAS_RUNTIME_LIB)),true) install: install -d $(LIBDIR) install -c $(LIB) $(INCLUDES) $(LIBDIR) -else -install: -endif + +test/test_int64: test/test_int64.c $(LIB) + $(CC) -o $@ test/test_int64.c $(LIB) + +clean:: + rm -f test/test_int64 + +.PHONY: test + +test: FORCE test/test_int64 + test/test_int64 + +FORCE: -- cgit