mirror of
https://github.com/rui314/mold.git
synced 2024-12-26 18:02:30 +03:00
Rename catld chibild
This commit is contained in:
parent
b4a3208d85
commit
f8a1ec959a
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
*.o
|
||||
*~
|
||||
/catld
|
||||
/chibild
|
||||
test/Output
|
||||
|
8
Makefile
8
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
|
||||
|
2
main.cc
2
main.cc
@ -1,4 +1,4 @@
|
||||
#include "catld.h"
|
||||
#include "chibild.h"
|
||||
#include "llvm/Option/ArgList.h"
|
||||
|
||||
#include <iostream>
|
||||
|
Loading…
Reference in New Issue
Block a user