diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2022-02-18 22:38:05 +0100 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2022-02-18 22:44:54 +0100 |
| commit | 59af744246f38fb3c1cba33d06e680d29f866abd (patch) | |
| tree | 9abcf97d100c48595135f4ef3f383c9b1c1db55d /Makefile | |
| parent | b38167526f773e2ee8209541323cb5d6126963f1 (diff) | |
Separate host-specific config with files or inline
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..36d0063 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +HOST = $(shell hostname -s) +SRCS = $(wildcard $(HOST).*) +OBJS = $(patsubst $(HOST).%,dot.%,$(SRCS)) + +all: $(OBJS) + +dot.%: $(HOST).% + ln -s $< $@ + +install: all + ./install.py +.PHONY: install |
