diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-05-21 00:26:28 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-05-21 00:26:28 +0200 |
commit | c2761cb4a8e93434470c1c6cac15b950413e1add (patch) | |
tree | 70af42a2c569454adacd678d66c0b2ee1a004b0a /Makefile | |
parent | eba2ad612cc25fcfcd7347f360b5506ba8921835 (diff) | |
download | vdr-plugin-live-c2761cb4a8e93434470c1c6cac15b950413e1add.tar.gz vdr-plugin-live-c2761cb4a8e93434470c1c6cac15b950413e1add.tar.bz2 |
More Makefile adaptations
- Generate dependency files ".*.edep" out of the "*.ecpp" files and include
them in pages/Makefile.
- Allow building of "<subdir>/*.o" from the top makefile as target.
- .gitignore will ignore the new dependency files ".*.edep".
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -95,6 +95,15 @@ SUBDIRS := $(WEB_DIR_PAGES) $(WEB_DIR_CSS) $(WEB_DIR_JAVA) all: lib i18n ### Implicit rules: +$(WEB_DIR_PAGES)/%.o: $(WEB_DIR_PAGES)/%.cpp $(WEB_DIR_PAGES)/%.ecpp + $(MAKE) -C $(WEB_DIR_PAGES) PLUGINFEATURES="$(PLUGINFEATURES)" $(notdir $@) + +$(WEB_DIR_CSS)/%.o: + $(MAKE) -C $(WEB_DIR_CSS) PLUGINFEATURES="$(PLUGINFEATURES)" $(notdir $@) + +$(WEB_DIR_JAVA)/%.o: + $(MAKE) -C $(WEB_DIR_JAVA) PLUGINFEATURES="$(PLUGINFEATURES)" $(notdir $@) + %.o: %.cpp $(CXX) $(CXXFLAGS) -c $(DEFINES) $(PLUGINFEATURES) $(INCLUDES) $< @@ -194,5 +203,6 @@ clean: subdirs .PRECIOUS: $(I18Npo) +.PHONY: FORCE FORCE: |