diff --git a/.gitignore b/.gitignore index 380a78b4..5a045c86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.o *~ -/catld +/chibild test/Output diff --git a/Makefile b/Makefile index d25785da..b6766b90 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,10 @@ LDFLAGS=$(shell $(LLVM_CONFIG) --ldflags) LIBS=-pthread -lLLVMSupport -lLLVMObject -lLLVMOption -lcurses OBJS=main.o writer.o -catld: $(OBJS) +chibild: $(OBJS) $(CXX) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS) -$(OBJS): catld.h Makefile +$(OBJS): chibild.h Makefile main.cc: options.inc @@ -28,10 +28,10 @@ llvm: intel_tbb: $(MAKE) -C oneTBB -test: catld +test: chibild ./llvm-project/build/bin/llvm-lit test clean: - rm -f *.o *~ catld options.inc + rm -f *.o *~ chibild options.inc .PHONY: llvm intel_tbb test clean diff --git a/catld.h b/chibild.h similarity index 100% rename from catld.h rename to chibild.h diff --git a/main.cc b/main.cc index e89a4d62..889d4f2c 100644 --- a/main.cc +++ b/main.cc @@ -1,4 +1,4 @@ -#include "catld.h" +#include "chibild.h" #include "llvm/Option/ArgList.h" #include diff --git a/writer.cc b/writer.cc index a74e2339..7a4a3a59 100644 --- a/writer.cc +++ b/writer.cc @@ -1,4 +1,4 @@ -#include "catld.h" +#include "chibild.h" #include "llvm/Support/FileOutputBuffer.h"