Fix "make" dependencies for json_spirit/*_template.h (JSON-79)

JSON-79
Claudio Luck 5 years ago
parent 30bc5cf485
commit 6a6ad892a4

@ -2,6 +2,7 @@
CXXFLAGS = -Wall -O3 -std=c++11 -g
LDFLAGS = -lpthread
HEADERS = $(wildcard *.h)
all: libjson_spirit.a
@ -11,7 +12,7 @@ libjson_spirit.a: json_spirit_reader.o json_spirit_value.o json_spirit_writer.o
ar rs $@ $^
%.o : %.cpp %.h
%.o : %.cpp $(HEADERS)
c++ $(CXXFLAGS) -c $<

Loading…
Cancel
Save