You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpJSONServerAdapter/server/json_spirit/Makefile

23 lines
311 B
Makefile

.PHONY: all clear
CXXFLAGS = -Wall -O3 -std=c++11 -g
LDFLAGS = -lpthread
HEADERS = $(wildcard *.h)
all: libjson_spirit.a
libjson_spirit.a: json_spirit_reader.o json_spirit_value.o json_spirit_writer.o
rm -f $@
ar rs $@ $^
%.o : %.cpp $(HEADERS)
c++ $(CXXFLAGS) -c $<
clean:
rm -vf *.a
rm -vf *.o