summaryrefslogtreecommitdiff
path: root/subdir_makefile/Makefile
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-10-22 13:18:55 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2013-10-22 13:18:55 -0400
commite4a96cee395549dccb18f81b03724fe2d517c88f (patch)
treeab5d11e939f21c51683f00374bac6de61100a525 /subdir_makefile/Makefile
downloadmakefile_templates-e4a96cee395549dccb18f81b03724fe2d517c88f.tar.gz
makefile_templates-e4a96cee395549dccb18f81b03724fe2d517c88f.zip
init
Diffstat (limited to 'subdir_makefile/Makefile')
-rw-r--r--subdir_makefile/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/subdir_makefile/Makefile b/subdir_makefile/Makefile
new file mode 100644
index 0000000..65fa78f
--- /dev/null
+++ b/subdir_makefile/Makefile
@@ -0,0 +1,27 @@
+# -*- 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)/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)
+