2019-08-07 00:30:57 +01:00
|
|
|
CXX ?= g++
|
2019-02-02 19:22:41 +00:00
|
|
|
|
|
|
|
CXXFLAGS := -Wall -std=c++11 -O2
|
|
|
|
|
|
|
|
SRCS := json11.cpp mapjson.cpp
|
|
|
|
|
|
|
|
HEADERS := mapjson.h
|
|
|
|
|
2019-07-23 21:17:00 +01:00
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: mapjson
|
|
|
|
@:
|
2019-02-02 19:22:41 +00:00
|
|
|
|
|
|
|
mapjson: $(SRCS) $(HEADERS)
|
|
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) mapjson mapjson.exe
|