summaryrefslogtreecommitdiff
path: root/subdir_makefile/Makefile2ndLayer
diff options
context:
space:
mode:
Diffstat (limited to 'subdir_makefile/Makefile2ndLayer')
-rw-r--r--subdir_makefile/Makefile2ndLayer32
1 files changed, 32 insertions, 0 deletions
diff --git a/subdir_makefile/Makefile2ndLayer b/subdir_makefile/Makefile2ndLayer
new file mode 100644
index 0000000..6e6b59f
--- /dev/null
+++ b/subdir_makefile/Makefile2ndLayer
@@ -0,0 +1,32 @@
+# -*- make -*-
+
+# Default value so one can compile this standalone
+TOPDIR ?= ../..
+include ./local.mk
+include $(TOPDIR)/common.mk
+dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR)
+
+include $(MAKEINCLUDE_DIR)/t2t.mk
+include $(MAKEINCLUDE_DIR)/pandoc.mk
+include $(MAKEINCLUDE_DIR)/rem.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
+include $(MAKEINCLUDE_DIR)/dest_dirs.mk
+
+
+.DEFAULT_GOAL := all
+.PHONY: all compile clean real_clean install subdirs
+
+all: compile install
+
+compile: subdirs $(REQUIRED_TARGETS)
+
+clean: subdirs $(CLEAN_TARGETS)
+
+real_clean: subdirs clean $(REAL_CLEAN_TARGETS)
+
+install: subdirs $(INSTALL_TARGETS)
+