mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
3fe423a6f4
- update nlohmann/json and pantor/inja in tools/ - create new inja template
27 lines
364 B
Makefile
Executable File
27 lines
364 B
Makefile
Executable File
CXX ?= g++
|
|
|
|
CXXFLAGS := -Wall -std=c++17 -O2
|
|
|
|
INCLUDES := -I .
|
|
|
|
SRCS := jsonproc.cpp
|
|
|
|
HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
EXE := .exe
|
|
else
|
|
EXE :=
|
|
endif
|
|
|
|
.PHONY: all clean
|
|
|
|
all: jsonproc$(EXE)
|
|
@:
|
|
|
|
jsonproc$(EXE): $(SRCS) $(HEADERS)
|
|
$(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) jsonproc jsonproc.exe
|