mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
84291d0d72
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52691
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
PIPETOOLS_BASE = $(TOOLS_BASE)$(SEP)pipetools
|
|
PIPETOOLS_BASE_ = $(PIPETOOLS_BASE)$(SEP)
|
|
PIPETOOLS_INT = $(INTERMEDIATE_)$(PIPETOOLS_BASE)
|
|
PIPETOOLS_INT_ = $(PIPETOOLS_INT)$(SEP)
|
|
PIPETOOLS_OUT = $(OUTPUT_)$(PIPETOOLS_BASE)
|
|
PIPETOOLS_OUT_ = $(PIPETOOLS_OUT)$(SEP)
|
|
|
|
$(PIPETOOLS_INT): | $(TOOLS_INT)
|
|
$(ECHO_MKDIR)
|
|
${mkdir} $@
|
|
|
|
ifneq ($(INTERMEDIATE),$(OUTPUT))
|
|
$(PIPETOOLS_OUT): | $(TOOLS_OUT)
|
|
$(ECHO_MKDIR)
|
|
${mkdir} $@
|
|
endif
|
|
|
|
|
|
PIPETOOLS_TARGET = \
|
|
$(PIPETOOLS_OUT_)piperead$(EXEPOSTFIX)
|
|
|
|
PIPETOOLS_SOURCES = \
|
|
$(PIPETOOLS_BASE_)piperead.cpp
|
|
|
|
PIPETOOLS_OBJECTS = \
|
|
$(addprefix $(INTERMEDIATE_), $(PIPETOOLS_SOURCES:.cpp=.o))
|
|
|
|
PIPETOOLS_HOST_CFLAGS = $(TOOLS_CFLAGS)
|
|
|
|
PIPETOOLS_HOST_LFLAGS = $(TOOLS_LFLAGS)
|
|
|
|
.PHONY: pipetools
|
|
pipetools: $(PIPETOOLS_TARGET)
|
|
|
|
$(PIPETOOLS_TARGET): $(PIPETOOLS_OBJECTS) | $(PIPETOOLS_OUT)
|
|
$(ECHO_HOSTLD)
|
|
${host_gcc} $(PIPETOOLS_OBJECTS) $(PIPETOOLS_HOST_LFLAGS) -o $@
|
|
|
|
$(PIPETOOLS_INT_)piperead.o: $(PIPETOOLS_BASE_)piperead.cpp | $(PIPETOOLS_INT)
|
|
$(ECHO_HOSTCC)
|
|
${host_gcc} $(PIPETOOLS_HOST_CFLAGS) -c $< -o $@
|
|
|
|
|
|
.PHONY: pipetools_clean
|
|
pipetools_clean:
|
|
-@$(rm) $(PIPETOOLS_TARGET) $(PIPETOOLS_OBJECTS) 2>$(NUL)
|
|
clean: pipetools_clean
|