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

(LK_descend): Make the makefiles more portable by using FORCE as well

as .PHONY.
parent 07f5b80b
dnl $Id: mkmi.m4,v 1.11 1995/11/02 19:49:19 ceder Exp $
dnl $Id: mkmi.m4,v 1.12 1996/08/03 21:02:30 ceder Exp $
dnl Create Makefile.in from Makefile.src
dnl Copyright (C) 1993, 1994, 1995 Lysator Academic Computer Association.
dnl
......@@ -24,7 +24,7 @@ dnl
dnl LK_descend(cmd, deps, localcmd) expands to
dnl
dnl .PHONY: cmd
dnl cmd: deps
dnl cmd: deps FORCE
dnl localcmd
dnl [code to perform cmd in $SUBDIRS]
dnl
......@@ -33,7 +33,7 @@ dnl cmd in the current directory. All lines in localcmd should begin
dnl with a tab.
dnl
define([LK_descend], [[.PHONY: $1
$1: $2
$1: $2 FORCE
$3 @for i in DuMmY $(SUBDIRS); do \
if test -f $$i/Makefile ; then \
echo making $1 in directory $$i; \
......@@ -216,5 +216,8 @@ SCRIPTDIR = @SRCTOPDIR@/scripts
.c.o:
$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
FORCE:
# END section from LK_STD
]])dnl LK_STD
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