]> git.eshelyaron.com Git - emacs.git/commitdiff
(CTAGSOBJ): Compile with regexp support.
authorGeoff Voelker <voelker@cs.washington.edu>
Wed, 10 Apr 1996 22:38:26 +0000 (22:38 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Wed, 10 Apr 1996 22:38:26 +0000 (22:38 +0000)
lib-src/makefile.nt

index 5aa73e50f0f5119ab8c00506046440c56257ca64..2f3c49c6129494f771ee5925bd2d919d43b3b4b8 100644 (file)
@@ -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...