diff options
| author | Andrew Lamoureux <andrew@vector35.com> | 2017-03-24 16:32:50 -0400 |
|---|---|---|
| committer | Andrew Lamoureux <andrew@vector35.com> | 2017-03-24 16:32:50 -0400 |
| commit | c4f968cad46c51a307396ee4f21f60aa51393fe4 (patch) | |
| tree | 57a32d29ec9931175648947b35c62748077f23cf | |
| parent | 435e937c9705bc71cf1e7da1e08b23345a131360 (diff) | |
ensure jsoncpp is in libbinaryninjaapi.lib for make
(this was already the case for cmake builds)
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,7 +12,7 @@ TARGET := $(TARGETDIR)/$(TARGETNAME) SRCEXT = .cpp SOURCES = $(wildcard *$(SRCEXT)) -OBJECTS = $(SOURCES:.cpp=.o) +OBJECTS = $(SOURCES:.cpp=.o) json.o CFLAGS := -c -fPIC -O2 -pipe -std=gnu++11 -Wall -W @@ -35,6 +35,9 @@ $(TARGET).a: $(OBJECTS) @echo " Compiling... $@ $<" $(CC) $(CFLAGS) $(INC) -c -o $@ $< +json.o: ./json/jsoncpp.cpp ./json/json.h ./json/json-forwards.h + $(CC) $(CFLAGS) -I. -c -o $@ $< + clean: @echo " Cleaning..."; $(RM) -r *.o $(TARGETDIR) |
