summaryrefslogtreecommitdiff
path: root/examples/breakpoint
diff options
context:
space:
mode:
authorAndrew Lamoureux <andrew@vector35.com>2017-03-15 18:13:07 -0400
committerAndrew Lamoureux <andrew@vector35.com>2017-03-15 18:13:07 -0400
commit1f7523ce2b1edac1014d781fc771d5b82568e2f1 (patch)
treee9595f3a8683461bc0c1e452788183fd7462c4a8 /examples/breakpoint
parent84357311117be3002bc3dd0e402ca32eb81d4cf0 (diff)
build explanation, windows make files
Diffstat (limited to 'examples/breakpoint')
-rw-r--r--examples/breakpoint/Makefile.win16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/breakpoint/Makefile.win b/examples/breakpoint/Makefile.win
new file mode 100644
index 00000000..00cbbfa1
--- /dev/null
+++ b/examples/breakpoint/Makefile.win
@@ -0,0 +1,16 @@
+BINJA_API_INC_PATH = ..\..\
+BINJA_API_LIB = ..\..\bin\libbinaryninjaapi.lib
+BINJA_CORE_LIB = "c:\Program Files\Vector35\BinaryNinja\binaryninjacore.lib"
+
+FLAGS = /DWIN32 /D__WIN32__ /EHsc /I$(BINJA_API_INC_PATH) /link $(BINJA_API_LIB) $(BINJA_CORE_LIB)
+
+bininfo.dll: ./src/breakpoint.cpp
+ if not exist bin mkdir bin
+ cl ./src/breakpoint.cpp /LD $(FLAGS) /OUT:.\bin\breakpoint.dll
+
+clean:
+ if exist *.obj del *.obj
+ if exist *.exp del *.exp
+ if exist *.lib del *.lib
+ if exist *.dll del *.dll
+ if exist .\bin del /S /Q bin