mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
19 lines
245 B
Makefile
19 lines
245 B
Makefile
CXX ?= g++
|
|
|
|
CXXFLAGS := -Wall -std=c++11 -O2
|
|
|
|
SRCS := json11.cpp mapjson.cpp
|
|
|
|
HEADERS := mapjson.h
|
|
|
|
.PHONY: all clean
|
|
|
|
all: mapjson
|
|
@:
|
|
|
|
mapjson: $(SRCS) $(HEADERS)
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) mapjson mapjson.exe
|