mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
buildno.cpp depends of version.h
svn path=/trunk/; revision=31752
This commit is contained in:
parent
ec7508b924
commit
e48805d7fc
1 changed files with 7 additions and 1 deletions
|
@ -29,6 +29,8 @@ BUILDNO_HOST_CXXFLAGS = -I$(TOOLS_BASE) -Iinclude/reactos $(TOOLS_CPPFLAGS)
|
|||
|
||||
BUILDNO_HOST_LFLAGS = $(TOOLS_LFLAGS)
|
||||
|
||||
BUILDNO_VERSION = include$(SEP)reactos$(SEP)version.h
|
||||
|
||||
.PHONY: buildno
|
||||
buildno: $(BUILDNO_TARGET)
|
||||
|
||||
|
@ -36,7 +38,7 @@ $(BUILDNO_TARGET): $(BUILDNO_OBJECTS) $(XML_SSPRINTF_OBJECTS) | $(BUILDNO_OUT)
|
|||
$(ECHO_LD)
|
||||
${host_gpp} $^ $(BUILDNO_HOST_LFLAGS) -o $@
|
||||
|
||||
$(BUILDNO_INT_)buildno.o: $(BUILDNO_BASE_)buildno.cpp | $(BUILDNO_INT)
|
||||
$(BUILDNO_INT_)buildno.o: $(BUILDNO_BASE_)buildno.cpp $(BUILDNO_VERSION) | $(BUILDNO_INT)
|
||||
$(ECHO_CC)
|
||||
${host_gpp} $(BUILDNO_HOST_CXXFLAGS) -c $< -o $@
|
||||
|
||||
|
@ -45,6 +47,10 @@ buildno_clean:
|
|||
-@$(rm) $(BUILDNO_TARGET) $(BUILDNO_OBJECTS) 2>$(NUL)
|
||||
clean: buildno_clean
|
||||
|
||||
# Uncomment the following line if you want to automatically
|
||||
# update build number after SVN update
|
||||
#.PHONY: $(BUILDNO_TARGET)
|
||||
|
||||
$(BUILDNO_H): $(BUILDNO_TARGET)
|
||||
${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
|
||||
$(ECHO_BUILDNO)
|
||||
|
|
Loading…
Reference in a new issue