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: f6b42c53006b3a70b513f77be8a5f94c9594167b
Parent: 91f1034c51059623ae958101b564248ed4f22a67
Author: Randy Palamar
Date:   Sat, 28 Oct 2023 21:29:22 -0600

Makefile: make $(OBJ) depend on config.mk

Diffstat:
MMakefile | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,8 +1,7 @@ # See LICENSE for license details. include config.mk -SRC = jdict.c yomidict.c util.c -OBJ = $(SRC:.c=.o) +OBJ = jdict.o yomidict.o util.o default: jdict @@ -12,7 +11,7 @@ config.h: .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< -$(OBJ): config.h +$(OBJ): config.h config.mk jdict: $(OBJ) $(CC) -o $@ $(OBJ) $(LDFLAGS)