summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1996-04-10 22:38:26 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1996-04-10 22:38:26 +0000
commitf1d5eaf90a82bb1858c73fe499244048493b572c (patch)
treef7baf116d967d7331229d5042fcef4cc96149695 /lib-src
parentdb71d41440c5739e6ae4e2a32cbdc0696b6083bc (diff)
downloademacs-f1d5eaf90a82bb1858c73fe499244048493b572c.tar.gz
(CTAGSOBJ): Compile with regexp support.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/makefile.nt11
1 files 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...