diff options
author | Camil Staps | 2016-11-20 13:57:25 +0000 |
---|---|---|
committer | Camil Staps | 2016-11-20 13:57:25 +0000 |
commit | 19c320ccef8373f21667ee37538e9acfb871e680 (patch) | |
tree | 43d5d499ebbaa01ff862bd27de3d37bd75d45778 | |
parent | Fix cgopts.s (diff) |
Fix compilation order for compliance with clm
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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) |