diff options
-rw-r--r-- | subdir_makefile/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/subdir_makefile/Makefile b/subdir_makefile/Makefile new file mode 100644 index 0000000..6e5933f --- /dev/null +++ b/subdir_makefile/Makefile @@ -0,0 +1,28 @@ +# -*- make -*- + +# Default value so one can compile this standalone +TOPDIR ?= .. +include ./local.mk +include $(TOPDIR)/common.mk +include $(MAKEINCLUDE_DIR)/t2t.mk +include $(MAKEINCLUDE_DIR)/beamer_lecture.mk +include $(MAKEINCLUDE_DIR)/tex.mk +include $(MAKEINCLUDE_DIR)/css.mk +include $(MAKEINCLUDE_DIR)/raw.mk +include $(MAKEINCLUDE_DIR)/subdirs.mk + + +dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR) + +.DEFAULT_GOAL := all + +all: compile install + +compile: subdirs $(REQUIRED_TARGETS) + +clean: subdirs $(CLEAN_TARGETS) + +real_clean: subdirs clean $(REAL_CLEAN_TARGETS) + +install: subdirs $(INSTALL_TARGETS) + |