Skip to content

Commit

Permalink
Trying Jens Mueller LLVM binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlarouche committed Jul 21, 2012
1 parent a8a07dc commit 8e3b53a
Show file tree
Hide file tree
Showing 23 changed files with 2,830 additions and 1,387 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ FILES=\
main.d

LLVM_LIBS=`llvm-config --libs | sed 's/-l/-L-l/g'`
LLVM_OBJ=llvmExt.o llvmTarget.o
LLVM_OBJ=

main: llvmExt.o llvmTarget.o $(FILES)
main: $(FILES)
dmd -ofmain -L-L/usr/local/lib -L-ldl -L-lstdc++ $(FLAGS) -fPIC $(FILES) $(LLVM_LIBS) $(LLVM_OBJ)

llvmExt.o:
g++ llvm/Ext.cpp -c -I$LLVM_DIR/include -o llvmExt.o -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS

llvmTarget.o:
g++ llvm/Target.cpp -c -I$LLVM_DIR/include -o llvmTarget.o -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
185 changes: 0 additions & 185 deletions llvm/Ext.cpp

This file was deleted.

186 changes: 0 additions & 186 deletions llvm/Ext.d

This file was deleted.

Loading

0 comments on commit 8e3b53a

Please sign in to comment.