changeset 14981:780fe9c87106

(CTAGSOBJ): Compile with regexp support.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 10 Apr 1996 22:38:26 +0000
parents 1659a0ea3c0c
children b470e33ce4a9
files lib-src/makefile.nt
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.nt	Wed Apr 10 18:34:37 1996 +0000
+++ b/lib-src/makefile.nt	Wed Apr 10 22:38:26 1996 +0000
@@ -72,6 +72,7 @@
 		$(BLD)\regex.obj \
 		$(BLD)\alloca.obj
 
+
 $(BLD)\etags.exe: 	$(ETAGSOBJ)
 		$(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
 
@@ -80,13 +81,16 @@
 		$(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 @@
 		- $(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...