summaryrefslogtreecommitdiff
path: root/lib-src/makefile.nt
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
commite7437b34949f45eaeef23611c908e263e03de420 (patch)
treefc4fa950516dd53e07ead71473092096bc32a332 /lib-src/makefile.nt
parente4065cde06c40e1f2e2ac5d37f0e7cf2e94bd633 (diff)
downloademacs-e7437b34949f45eaeef23611c908e263e03de420.tar.gz
(CTAGSOBJ): Compile with regexp support.
Diffstat (limited to 'lib-src/makefile.nt')
-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...