From 19c320ccef8373f21667ee37538e9acfb871e680 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 20 Nov 2016 13:57:25 +0000 Subject: Fix compilation order for compliance with clm --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2e4463d..7071797 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ EXE:=test acker copyfile e fsieve hamming invperm lqueen mulmat nfib pascal reverse revtwice rfib sieve squeen str_arit stwice tak twice war_seq OBJ:=$(addsuffix .o,$(EXE)) ASM:=$(addsuffix .s,$(EXE)) -DEPS_O:=cgopts.o _system.o +DEPS_O:=_system.o cgopts.o SECONDARY:=_system.s -CC:=arm-linux-gnueabihf-gcc +CC:=gcc CLM:=clm CG:=/home/pi/cg/cg -AS:=arm-linux-gnueabihf-as +AS:=as ASFLAGS:=-g -march=armv8-a+crc -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --gstabs CFLAGS:=-g -march=armv8-a+crc -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -mtune=cortex-a53 -Wall @@ -26,9 +26,10 @@ $(OBJ): %.o: %.s $(AS) -o $@ $< $(ASFLAGS) $(EXE): %: %.o $(DEPS_O) - $(CC) -o $@ $<\ + $(CC) -o $@\ $(RTS)\ $(DEPS_O)\ + $<\ -lc -lm\ $(CFLAGS) -- cgit v1.2.3