Mercurial > hg > CbC > CbC_examples
view code_segment_pointer_check/Makefile @ 27:586096c45873
clean up
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 23 May 2020 07:19:57 +0900 |
parents | bacef8675607 |
children |
line wrap: on
line source
CbCC=../../../build_cbc44/INSTALL_DIR/bin/gcc #CC=gcc CC=../../../build_cbc44/INSTALL_DIR/bin/gcc # fastcall版では-O0,-O2は動作確認、-O3以上はだめ CFLAGS=-g -O2 -fomit-frame-pointer #CFLAGS=-g -O0 .SUFFIXES: .cbc .o all: code_segment_pointer_check2 .cbc.o: $(CbCC) $(CFLAGS) -c -o $@ $< code_segment_pointer_check2: code_segment_pointer_check2.o $(CC) $(CFLAGS) -o $@ $^ clean: rm -rf *.o *.s code_segment_pointer_check2