Mercurial > hg > CbC > CbC_examples
view code_segment_pointer_check/Makefile @ 17:a4f44624a253
asm longjmp (can return correct address but return value is wrong)
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jan 2016 06:01:43 +0900 |
parents | bacef8675607 |
children | 586096c45873 |
line wrap: on
line source
CbCC=/Users/e105711/prog/seminar/CbC/gcc-inst/bin/gcc #CC=gcc CC=/Users/e105711/prog/seminar/CbC/gcc-inst/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