diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-09-12 19:04:12 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-09-12 19:04:12 +0200 |
commit | 470f6402ea49a81a5c861fcce66cb05ebff977c1 (patch) | |
tree | cc3440095ed19ec83cd4268c1c7ec1db9296644b /runtime/Makefile | |
parent | 9c104c8d0a7e04ed2339ccd0c18600e479351a00 (diff) | |
download | compcert-kvx-470f6402ea49a81a5c861fcce66cb05ebff977c1.tar.gz compcert-kvx-470f6402ea49a81a5c861fcce66cb05ebff977c1.zip |
PowerPC 64 bits: alternate, more efficient implementations of int64 operations.
Diffstat (limited to 'runtime/Makefile')
-rw-r--r-- | runtime/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/Makefile b/runtime/Makefile index 2fdaa4ec..2fe32881 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -9,6 +9,8 @@ LIB=libcompcert.a INCLUDES=include/float.h include/stdarg.h include/stdbool.h \ include/stddef.h include/varargs.h +VPATH=$(ARCH)/$(MODEL) $(ARCH) + ifeq ($(strip $(HAS_RUNTIME_LIB)),true) all: $(LIB) else @@ -19,10 +21,10 @@ $(LIB): $(OBJS) rm -f $(LIB) ar rcs $(LIB) $(OBJS) -%.o: $(ARCH)/%.s +%.o: %.s $(CASMRUNTIME) -o $@ $^ -%.o: $(ARCH)/%.S +%.o: %.S $(CASMRUNTIME) -DMODEL_$(MODEL) -DABI_$(ABI) -DSYS_$(SYSTEM) -o $@ $^ clean:: |