HOI4_randomchanges/Makefile
2023-11-08 23:40:04 +04:00

15 lines
352 B
Makefile

all: patch/tree/map/definition.csv
VANILLA_SRC ?= ../vanilla
patch/tree:
mkdir $@
patch/tree/map: patch/tree
mkdir $@
patch/work/map_definition.csv: $(VANILLA_SRC)/map/definition.csv
cp -v $< $@
patch/tree/map/definition.csv: patch/work/map_definition.csv patch/patches/map_definition.patch | patch/tree/map
cp -v $< $@
patch -u --binary -N $^