summaryrefslogtreecommitdiff
path: root/build/msvc/msvc-generate/Makefile.mak
blob: 72415f173982f0546ee4daf5f3b0b17ffa5ec466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com>

CONFIG=$(SOURCEBASE)/version.m4
INPUT=$(SOURCEBASE)/config-msvc-version.h.in
OUTPUT=$(SOURCEBASE)/config-msvc-version.h

all:	$(OUTPUT)

$(OUTPUT): $(INPUT) $(CONFIG)
	cscript //nologo msvc-generate.js --config="$(CONFIG)" --input="$(INPUT)" --output="$(OUTPUT)"

clean:
	-del "$(OUTPUT)"