view Makefile @ 2:35d6eabeadb0

modify Makefile. we can use makefile to compile outside CbC examples. (some examples are not compilable...)
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 22 Oct 2014 02:06:29 +0900
parents ba74047a4d78
children 175041088754
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 test2 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
CFLAGS=-O2 -D"CLANG"

.SUFFIXES: .c .o

.c.o:
	$(CC) $(CFLAGS) -o $<

all: $(TARGET)

clean:
	rm -f $(TARGET)
	rm -f *.o