commit a20543402cf165901d09c5044770b70d0748c38d parent cd8d42c856a3030da672249db576c7aab4249f9e Author: Dylan Araps <dylan.araps@gmail.com> Date: Tue, 15 Oct 2019 17:12:10 +0300 sowm: provide config.def.h instead Diffstat:
A | .gitignore | | | 3 | +++ |
M | Makefile | | | 5 | ++++- |
R | config.h -> config.def.h | | | 0 |
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +sowm +sowm.o +config.h diff --git a/Makefile b/Makefile @@ -6,7 +6,10 @@ BINDIR?= $(PREFIX)/bin CC ?= gcc -all: sowm +all: config.h sowm + +config.h: + cp config.def.h config.h sowm: sowm.o $(CC) $(LDFLAGS) -Os -o $@ $+ $(LDADD) diff --git a/config.h b/config.def.h