CC = gcc CFLAGS = --std=c89 -Wall -W -g #-O2 #LDFLAGS = -rdynamic #ibicpp : cpp.o libibicpp.a all : cpp cparser.o cpp : cpp.o libcpp.o strutil.o ibi_symtab.o diag.o file.o \ arena.o cpp.o : cpp.c ibicpp.h paths.h libcpp.o : libcpp.c asprintf.h diag.h ibicpp.h ibi_symtab.h strutil.h file.h \ arena.h ibi_symtab.o : ibi_symtab.c diag.h ibi_symtab.h strutil.h diag.o: diag.c diag.h strutil.h asprintf.o : asprintf.c asprintf.h file.o : file.c file.h diag.h paths.h : echo '#define OWN_INCLUDE_DIR "${PWD}/include"' > $@.new mv $@.new $@ clean : $(RM) *.o cpp