Mercurial > hg > CbC > CbC_examples
view 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 | f442aa72b246 |
children | facab2ddc380 |
line wrap: on
line source
CC=/Users/e105711/prog/seminar/CbC/llvmInst/Debug+Asserts/bin/clang TARGET=bug conv fact-a loto6 normal normal2 test01 test02 test04 test05 test_array test_call test_cs test_para test_para2 test_para4 test_return test_struct test_tailcall1 test_tree tmp1 tmp2 tmp4 test_csp1 test_func2code tmpa too-long-argument test1 stack1 test2 arg test_para3 proto assignment CFLAGS= -D"CLANG" .SUFFIXES: .c .s .PHONY: all all: $(TARGET) .c.s: $(CC) $(CFLAGS) -S $< $(TARGET): $(TARGET:%=%.s) $(CC) -o $@ $(@:%=%.s) .PHONY: clean clean: rm -f $(TARGET) rm -f *.o *.s