Commit c50e11bc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use $(DEPENDFLAG) instead of -M.

parent a8aed516
#
# $Id: Parallell-depend.make,v 0.7 1993/10/10 11:56:41 ceder Exp $
# $Id: Parallell-depend.make,v 0.8 1993/10/16 16:33:06 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -30,19 +30,19 @@ depend: temp-A-Makefile temp-B-Makefile temp-C-Makefile \
echo depend ready.
temp-A-Makefile: c-indexes
-$(CC) -M $(CFLAGS) `cat temp-A-files` >temp-A-Makefile
-$(CC) $(DEPENDFLAG) $(CFLAGS) `cat temp-A-files` >temp-A-Makefile
temp-B-Makefile: c-indexes
-$(CC) -M ${CFLAGS} `cat temp-B-files` >temp-B-Makefile
-$(CC) $(DEPENDFLAG) ${CFLAGS} `cat temp-B-files` >temp-B-Makefile
temp-C-Makefile: c-indexes
-$(CC) -M ${CFLAGS} `cat temp-C-files` >temp-C-Makefile
-$(CC) $(DEPENDFLAG) ${CFLAGS} `cat temp-C-files` >temp-C-Makefile
temp-D-Makefile: c-indexes
-$(CC) -M ${CFLAGS} `cat temp-D-files` >temp-D-Makefile
-$(CC) $(DEPENDFLAG) ${CFLAGS} `cat temp-D-files` >temp-D-Makefile
temp-E-Makefile: c-indexes
-$(CC) -M ${CFLAGS} `cat temp-E-files` >temp-E-Makefile
-$(CC) $(DEPENDFLAG) ${CFLAGS} `cat temp-E-files` >temp-E-Makefile
c-indexes: specials
ls $(srcdir)/*.c|${AWK} '{ a[i++] = $$1; } \
......
#
# $Id: Single-depend.make,v 1.5 1993/10/10 11:56:46 ceder Exp $
# $Id: Single-depend.make,v 1.6 1993/10/16 16:33:15 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -24,7 +24,7 @@
#
.PHONY: depend
depend:
$(CC) -M $(CFLAGS) $(srcdir)/*.c >dependencies
$(CC) $(DEPENDFLAG) $(CFLAGS) $(srcdir)/*.c >dependencies
dependencies:
touch dependencies
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