mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-22 18:14:38 -05:00
* Sync tools/ directory with pokeemerald We really ought to have a central repository for this mess * Make incremental builds faster Scientists hate him! He made NODEP disappear with this ONE SIMPLE TRICK!!! Want to know more? -> __click here__ <- * Disassemble some more tables and the first graphic
27 lines
364 B
Makefile
Executable File
27 lines
364 B
Makefile
Executable File
CXX ?= g++
|
|
|
|
CXXFLAGS := -Wall -std=c++11 -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
|