From 0f7b650cd1edfc1706f1c9dffd746f7fae2d35e3 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sat, 7 Nov 2015 01:37:03 -0800 Subject: Allow customization of config.h via config.def.h --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9018404..41ea0c7 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,9 @@ fzy: fzy.o match.o tty.o choices.o %.o: %.c config.h $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< +config.h: + cp config.def.h config.h + install: fzy mkdir -p $(DESTDIR)$(BINDIR) cp fzy $(DESTDIR)$(BINDIR)/ -- cgit v1.2.3