Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC=clang++
- LD=clang++
- export CFLAGS=`llvm-config --cxxflags`
- export LDFLAGS=`llvm-config --cxxflags --ldflags --libs core analysis bitwriter --system-libs`
- build: test
- test.o: test.cpp
- $(CC) $(CFLAGS) -c $<
- test: test.o
- $(LD) $< $(LDFLAGS) -o $@
Advertisement
Add Comment
Please, Sign In to add comment