HOI4_randomchanges/Makefile

15 lines
352 B
Makefile
Raw Normal View History

2023-11-08 19:40:04 +00:00
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 $^