diff options
author | Camil Staps | 2016-11-07 22:16:23 +0000 |
---|---|---|
committer | Camil Staps | 2016-11-07 22:16:23 +0000 |
commit | 51a729ee0266acc3dd6bee61192dcfca52d00179 (patch) | |
tree | 33d8831744d16708e3a9fb493a15bd1090e202c6 | |
parent | Added simple examples (diff) |
update Makefile
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |