From 51a729ee0266acc3dd6bee61192dcfca52d00179 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 7 Nov 2016 22:16:23 +0000 Subject: update Makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 99bb71e..2e4463d 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,14 @@ SECONDARY:=_system.s CC:=arm-linux-gnueabihf-gcc CLM:=clm -CG:=/home/pi/clean-code-generator/cg +CG:=/home/pi/cg/cg AS:=arm-linux-gnueabihf-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 +RTS:=/home/pi/rts/_startup.o + all: all_exe all_asm all_obj all_exe: $(EXE) @@ -25,7 +27,7 @@ $(OBJ): %.o: %.s $(EXE): %: %.o $(DEPS_O) $(CC) -o $@ $<\ - ~/clean-run-time-system/_startup.o\ + $(RTS)\ $(DEPS_O)\ -lc -lm\ $(CFLAGS) @@ -37,7 +39,7 @@ $(DEPS_O): %.o: %.s $(CG) $(basename $@) -s $@ %.abc: %.icl - $(CLM) -ABC $(subst .abc,,$@); return 0 + $(CLM) -d -ABC $(subst .abc,,$@); return 0 mv Clean\ System\ Files/$@ $@ if [ -z "$$(ls -qAL Clean\ System\ Files)" ]; then rmdir Clean\ System\ Files; fi -- cgit v1.2.3