Commit 6f5e9c43 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(etags, ctags): Pass -D for VERSION.

parent 0e0de659
......@@ -189,12 +189,12 @@ getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h
$(CC) ${ALL_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
$(CC) ${ALL_CFLAGS} -DVERSION=${version} ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
# We depend on etags to assure that parallel makes don't write two
# etags.o files on top of each other.
ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
$(CC) ${ALL_CFLAGS} -DCTAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
$(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION=${version} ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
wakeup: ${srcdir}/wakeup.c
$(CC) ${ALL_CFLAGS} ${srcdir}/wakeup.c $(LOADLIBES) -o wakeup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment