Makefile.rules (328B)
1ifeq ($(MODEL),small) 2NEAR_CALLS = 1 3else 4NEAR_CALLS = 0 5endif 6 7include $(TOPDIR)/libc/rules-$(ASM).mk 8 9clean: 10 rm -f $(OBJ) $(CLEANSPEC) 11 12set-model: 13 if [ -e global.s ]; then \ 14 sed -e "s/.NEAR_CALLS\W=\W[0-9]\+/.NEAR_CALLS = $(NEAR_CALLS)/" global.s > tmp1.txt ;\ 15 mv tmp1.txt global.s; \ 16 fi 17 18build-dir: 19 mkdir -p $(BUILD)