Revision 5458
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
30 | 30 |
+_ = $(+:_%=) |
31 | 31 |
addBeforeExt = $(basename $(2))$(1)$(suffix $(2)) |
32 | 32 |
|
33 |
# OS |
|
34 |
os := $(shell uname) |
|
35 |
forOs = $(patsubst %,%-$(filter Linux Darwin,$(os)),$(1)) |
|
36 |
|
|
37 | 33 |
# Terminal |
38 | 34 |
termCols := $(shell tput cols) |
39 | 35 |
esc := '[' |
Also available in: Unified diff
Factored OS section out from Makefile, input.Makefile into lib/common.Makefile