Generate xprint.pre from xprint.cpp.
This commit is contained in:
parent
b3e4d1d1f4
commit
233c004641
|
@ -1 +1,12 @@
|
||||||
|
include $(top_srcdir)/cpprules.in
|
||||||
|
|
||||||
|
noinst_PRE = xprint
|
||||||
|
BUILT_SOURCES = $(noinst_PRE)
|
||||||
|
CLEANFILES = $(noinst_PRE) xprint.pre
|
||||||
|
|
||||||
|
CPP_FILES_FLAGS = -DProjectRoot='"$(PROJECTROOT)"' -DOS_LINUX
|
||||||
|
|
||||||
|
xprint.pre: xprint.cpp
|
||||||
|
$(SED) -e 's/^\(\s\+\)#/\1XCOMM/' $< > $@
|
||||||
|
|
||||||
EXTRA_DIST = xprint.cpp
|
EXTRA_DIST = xprint.cpp
|
||||||
|
|
Loading…
Reference in New Issue