diff options
Diffstat (limited to 'modules.mk')
| -rw-r--r-- | modules.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,11 +1,13 @@ #Include all selected obj-y files from folder include Makefile +PHONY := BASE_NAME = $(shell basename $(dir $(CURDIR))) TMP_TEXFILES = *.aux *.log *.nav *.toc *.pdf *.snm \ *.bbl *.blg *.out *.vrb *.fls *.fdb_latexmk +PHONY += build build: $(Q)$(foreach files,$(obj-y),$(MODMK) $(files);) $(Q)$(foreach files,$(obj-y),cp -t $(DEPLOY) $(files);) @@ -27,7 +29,8 @@ buildprintouts: %.tex: +PHONY += clean_texfiles clean_texfiles: $(Q)rm -f $(TMP_TEXFILES) -.PHONY: clean_texfiles build +.PHONY: $(PHONY) |
