Revision 3761
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/input.Makefile | ||
---|---|---|
1 |
selfDir_uZPPqC := $(dir $(lastword $(MAKEFILE_LIST))) |
|
2 |
root := $(selfDir_uZPPqC).. |
|
3 |
include $(root)/lib/common.Makefile |
|
4 |
|
|
5 |
|
|
1 | 6 |
##### Configuration |
2 | 7 |
|
3 | 8 |
# Command line |
... | ... | |
14 | 19 |
|
15 | 20 |
##### Vars/functions |
16 | 21 |
|
17 |
selfDir_uZPPqC := $(dir $(lastword $(MAKEFILE_LIST))) |
|
18 |
|
|
19 | 22 |
# Paths |
20 | 23 |
datasrc := $(notdir $(realpath .)) |
21 |
root := $(selfDir_uZPPqC).. |
|
22 | 24 |
bin := $(root)/bin |
23 | 25 |
mappings := $(root)/mappings |
24 | 26 |
|
... | ... | |
72 | 74 |
|
73 | 75 |
all: _always maps ; |
74 | 76 |
|
75 |
.SUFFIXES: # turn off built-in suffix rules |
|
76 |
.SECONDARY: # don't automatically delete intermediate files |
|
77 |
.DELETE_ON_ERROR: # delete target if recipe fails |
|
78 |
|
|
79 |
_always: |
|
80 |
.PHONY: _always |
|
81 |
|
|
82 | 77 |
clean: _always |
83 | 78 |
$(RM) $(all) |
84 | 79 |
|
Also available in: Unified diff
input.Makefile: Include lib/common.Makefile