Skip to content

Commit

Permalink
added libxdisasm as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
acama committed Dec 9, 2014
1 parent a6bebb9 commit 8645cd3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -11,5 +11,3 @@ notes
# gdb
.gdb_history

#
src/libxdisasm
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "src/libxdisasm"]
path = src/libxdisasm
url = https://github.com/acama/libxdisasm.git
7 changes: 2 additions & 5 deletions src/Makefile
Expand Up @@ -5,12 +5,9 @@ LDFLAGS= -Llibxdisasm/build/lib/ -lxdisasm -lbfd -lopcodes -liberty -lz -ldl

default: all

all: getlib makelib xropbin
all: makelib xropbin

withstatic: getlib makelibwithstatic xropbin

getlib:
test -d libxdisasm || git clone https://github.com/acama/libxdisasm
withstatic: makelibwithstatic xropbin

makelib:
cd libxdisasm && $(MAKE)
Expand Down
1 change: 1 addition & 0 deletions src/libxdisasm
Submodule libxdisasm added at 7d8ddc

0 comments on commit 8645cd3

Please sign in to comment.