From f1d5eaf90a82bb1858c73fe499244048493b572c Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Wed, 10 Apr 1996 22:38:26 +0000 Subject: [PATCH] (CTAGSOBJ): Compile with regexp support. --- lib-src/makefile.nt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index 5aa73e50f0f..2f3c49c6129 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt @@ -72,6 +72,7 @@ ETAGSOBJ = $(BLD)\etags.obj \ $(BLD)\regex.obj \ $(BLD)\alloca.obj + $(BLD)\etags.exe: $(ETAGSOBJ) $(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) @@ -80,13 +81,16 @@ $(BLD)\regex.obj: ../src/regex.c ../src/regex.h ../src/config.h $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ ../src/regex.c -Fo$@ +ETAGS_CFLAGS = -DETAGS_REGEXPS $(BLD)\etags.obj: etags.c - $(CC) $(CFLAGS) -DETAGS_REGEXPS -Fo$@ etags.c + $(CC) $(CFLAGS) $(ETAGS_CFLAGS) -Fo$@ etags.c CTAGSOBJ = $(BLD)\ctags.obj \ $(BLD)\getopt.obj \ $(BLD)\getopt1.obj \ - $(BLD)\ntlib.obj + $(BLD)\ntlib.obj \ + $(BLD)\regex.obj \ + $(BLD)\alloca.obj $(BLD)\ctags.exe: ctags.c $(CTAGSOBJ) $(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS) @@ -95,8 +99,9 @@ ctags.c: etags.c - $(DEL) ctags.c copy etags.c ctags.c +CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) $(BLD)\ctags.obj: ctags.c - $(CC) $(CFLAGS) -DCTAGS -Fo$@ ctags.c + $(CC) $(CFLAGS) $(CTAGS_CFLAGS) -Fo$@ ctags.c # # don't know what to do with these yet... -- 2.39.2