[llvm-commits] [dragonegg] r101055 - /dragonegg/trunk/Makefile
Duncan Sands
baldrick at free.fr
Mon Apr 12 12:12:21 PDT 2010
Author: baldrick
Date: Mon Apr 12 14:12:21 2010
New Revision: 101055
URL: http://llvm.org/viewvc/llvm-project?rev=101055&view=rev
Log:
Use less obscure automatic make variables.
Modified:
dragonegg/trunk/Makefile
Modified: dragonegg/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Makefile?rev=101055&r1=101054&r2=101055&view=diff
==============================================================================
--- dragonegg/trunk/Makefile (original)
+++ dragonegg/trunk/Makefile Mon Apr 12 14:12:21 2010
@@ -55,19 +55,19 @@
default: $(PLUGIN)
$(TARGET_UTIL_OBJECTS): %.o : $(SRC_DIR)/utils/%.cpp
- @echo Compiling utils/$(<F)
+ @echo Compiling utils/$*.cpp
$(QUIET)$(CXX) -c $(PREPROCESSOR) $(CXXFLAGS) $<
$(TARGET_UTIL): $(TARGET_UTIL_OBJECTS)
- @echo Linking $(@F)
+ @echo Linking $@
$(QUIET)$(CXX) -o $@ $^ $(LINKER)
%.o : $(SRC_DIR)/%.c $(TARGET_UTIL)
- @echo Compiling $(<F)
+ @echo Compiling $*.c
$(QUIET)$(CC) -c $(PREPROCESSOR) $(TARGET_HEADERS) $(CFLAGS) $<
%.o : $(SRC_DIR)/%.cpp $(TARGET_UTIL)
- @echo Compiling $(<F)
+ @echo Compiling $*.cpp
$(QUIET)$(CXX) -c $(PREPROCESSOR) $(TARGET_HEADERS) $(CXXFLAGS) $<
$(TARGET_OBJECT): $(TARGET_UTIL)
@@ -76,7 +76,7 @@
$(TARGET_SOURCE)
$(PLUGIN): $(PLUGIN_OBJECTS) $(TARGET_OBJECT) $(TARGET_UTIL)
- @echo Linking $(@F)
+ @echo Linking $@
$(QUIET)$(CXX) -shared $(PLUGIN_OBJECTS) $(TARGET_OBJECT) -o $@ \
$(LINKER) $(shell $(LLVM_CONFIG) --libs $(shell $(TARGET_UTIL) -p))
More information about the llvm-commits
mailing list