mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 04:27:38 +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
|