Copy wxpoem.idx to the build directory in wxPoem makefiles.

Closes #17014.
This commit is contained in:
Vadim Zeitlin
2015-06-01 00:00:25 +02:00
parent 6a3cc8171b
commit de252e1f4d
5 changed files with 5 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ wxpoem$(EXEEXT): $(WXPOEM_OBJECTS) $(__wxpoem___win32rc)
data: data:
@mkdir -p . @mkdir -p .
@for f in wxpoem.txt wxpoem.dat; do \ @for f in wxpoem.txt wxpoem.dat wxpoem.idx; do \
if test ! -f ./$$f -a ! -d ./$$f ; \ if test ! -f ./$$f -a ! -d ./$$f ; \
then x=yep ; \ then x=yep ; \
else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \

View File

@@ -237,7 +237,7 @@ $(OBJS)\wxpoem.exe: $(WXPOEM_OBJECTS) $(OBJS)\wxpoem_wxpoem.res
data: data:
if not exist $(OBJS) mkdir $(OBJS) if not exist $(OBJS) mkdir $(OBJS)
for %f in (wxpoem.txt wxpoem.dat) do if not exist $(OBJS)\%f copy .\%f $(OBJS) for %f in (wxpoem.txt wxpoem.dat wxpoem.idx) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
$(OBJS)\wxpoem_wxpoem.obj: .\wxpoem.cpp $(OBJS)\wxpoem_wxpoem.obj: .\wxpoem.cpp
$(CXX) -q -c -P -o$@ $(WXPOEM_CXXFLAGS) .\wxpoem.cpp $(CXX) -q -c -P -o$@ $(WXPOEM_CXXFLAGS) .\wxpoem.cpp

View File

@@ -226,7 +226,7 @@ $(OBJS)\wxpoem.exe: $(WXPOEM_OBJECTS) $(OBJS)\wxpoem_wxpoem_rc.o
data: data:
if not exist $(OBJS) mkdir $(OBJS) if not exist $(OBJS) mkdir $(OBJS)
for %%f in (wxpoem.txt wxpoem.dat) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS) for %%f in (wxpoem.txt wxpoem.dat wxpoem.idx) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
$(OBJS)\wxpoem_wxpoem.o: ./wxpoem.cpp $(OBJS)\wxpoem_wxpoem.o: ./wxpoem.cpp
$(CXX) -c -o $@ $(WXPOEM_CXXFLAGS) $(CPPDEPS) $< $(CXX) -c -o $@ $(WXPOEM_CXXFLAGS) $(CPPDEPS) $<

View File

@@ -360,7 +360,7 @@ $(OBJS)\wxpoem.exe: $(WXPOEM_OBJECTS) $(OBJS)\wxpoem_wxpoem.res
data: data:
if not exist $(OBJS) mkdir $(OBJS) if not exist $(OBJS) mkdir $(OBJS)
for %f in (wxpoem.txt wxpoem.dat) do if not exist $(OBJS)\%f copy .\%f $(OBJS) for %f in (wxpoem.txt wxpoem.dat wxpoem.idx) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
$(OBJS)\wxpoem_wxpoem.obj: .\wxpoem.cpp $(OBJS)\wxpoem_wxpoem.obj: .\wxpoem.cpp
$(CXX) /c /nologo /TP /Fo$@ $(WXPOEM_CXXFLAGS) .\wxpoem.cpp $(CXX) /c /nologo /TP /Fo$@ $(WXPOEM_CXXFLAGS) .\wxpoem.cpp

View File

@@ -13,7 +13,7 @@
<wx-data id="data"> <wx-data id="data">
<files> <files>
wxpoem.txt wxpoem.dat wxpoem.txt wxpoem.dat wxpoem.idx
</files> </files>
</wx-data> </wx-data>