diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-05-25 22:21:13 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-05-25 22:30:31 +0200 |
commit | 260f2cf0cb7b724c9ca3f662529e7b6bbb9cbbb6 (patch) | |
tree | 5b5775965847c369148065e7456a3a58c1d60a02 /css/Makefile | |
parent | 3e0774c0968dc38178cadb41558302c8a888b875 (diff) | |
download | vdr-plugin-live-260f2cf0cb7b724c9ca3f662529e7b6bbb9cbbb6.tar.gz vdr-plugin-live-260f2cf0cb7b724c9ca3f662529e7b6bbb9cbbb6.tar.bz2 |
Improve Makefile printing
- Added global.mk with common makefile print macros.
Use VERBOSE=1 on the command line to show executed commands.
- Removed recursion printing of make.
- Suppress “nothing to be done for 'all'” message from make.
- gen_version_suffix.h is now always created.
Diffstat (limited to 'css/Makefile')
-rw-r--r-- | css/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/css/Makefile b/css/Makefile index 0411b30..9655703 100644 --- a/css/Makefile +++ b/css/Makefile @@ -11,22 +11,31 @@ INCLUDES += -I$(VDRDIR)/include -I.. OBJS := styles.o SRCS := $(patsubst %.o,%.cpp,$(OBJS)) +include ../global.mk + ### The main target: all: libcss.a + @true ### Implicit rules: %.o: %.cpp - $(CXX) $(CXXFLAGS) $(TNTFLAGS) -c $(DEFINES) $(PLUGINFEATURES) $(INCLUDES) $< + $(call PRETTY_PRINT,"CC css/" $@) + $(Q)$(CXX) $(CXXFLAGS) $(TNTFLAGS) -c $(DEFINES) $(PLUGINFEATURES) $(INCLUDES) $< %.cpp: %.css - $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CSS) -b -m "text/css" $< + $(call PRETTY_PRINT,"ECPP css/" $@) + $(Q)$(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CSS) -b -m "text/css" $< ### Targets: libcss.a: $(OBJS) - $(AR) r $@ $^ + $(call PRETTY_PRINT,"AR css/" $@) + $(Q)$(AR) r $@ $^ $(AR_NUL) clean: + $(call PRETTY_PRINT,"CLN css/") @rm -f *~ *.o core* libcss.a $(SRCS) dist: clean @echo "Nothing to do for distribution here ..." + +.PRECIOUS: $(SRCS) |