sowm: provide config.def.h instead

This commit is contained in:
Dylan Araps 2019-10-15 17:12:10 +03:00
parent cd8d42c856
commit a20543402c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
3 changed files with 7 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
sowm
sowm.o
config.h

View File

@ -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)