1
0
mirror of https://github.com/deadw00d/AROS.git synced 2026-01-12 08:35:21 +00:00

Fixed a problem with creating empty mf.inc files in $(GENDIR)

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@3948 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
This commit is contained in:
iaint
1998-01-29 04:50:15 +00:00
parent 7f6c1e20b4
commit cff8ad0f7a

View File

@ -1,9 +1,17 @@
# Copyright (C) 1995-1998 AROS
# $Id$
#
# Desc: Create mf.inc files from the %add_objects,%exclude_files stuff
#
BEGIN {
lastdir = "";
}
{
match($2,/(.*\/)+/);
funct = substr($2,RLENGTH + 1);
path = substr($2,1,RLENGTH);
if(path != lastdir)
if((path != lastdir) && (lastdir != ""))
{
file = GENDIR "/" lastdir "mf.inc";
printf "SUPPRESS_FILES = %s\n", suppress > file;