jdict

command line tool for looking up terms in yomidict dictionaries
git clone anongit@rnpnr.xyz:jdict.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 24b0bf6dc11da6d7fac84fca67a38a55eac6863f
Parent: d8ea8231cbc46777682dbe00217ce44ea25017ad
Author: Randy Palamar
Date:   Sat, 22 Oct 2022 22:55:31 -0600

allow CFLAGS to be more easily overwritten with make

Diffstat:
MMakefile | 2+-
Mconfig.mk | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -10,7 +10,7 @@ config.h: cp config.def.h $@ .c.o: - $(CC) $(CFLAGS) -o $@ -c $< + $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< $(OBJ): config.h diff --git a/config.mk b/config.mk @@ -2,5 +2,5 @@ PREFIX = /usr/local CPPFLAGS = -D_BSD_SOURCE -CFLAGS = -O2 -std=c99 -Wall -pedantic $(CPPFLAGS) $(INCS) +CFLAGS = -O2 -std=c99 -Wall -pedantic LDFLAGS = -s -static