diff options
Diffstat (limited to 'contrib/ncurses/mk-0th.awk')
-rw-r--r-- | contrib/ncurses/mk-0th.awk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/ncurses/mk-0th.awk b/contrib/ncurses/mk-0th.awk index b7a40fdc1809..5173269e440a 100644 --- a/contrib/ncurses/mk-0th.awk +++ b/contrib/ncurses/mk-0th.awk @@ -1,6 +1,6 @@ -# $Id: mk-0th.awk,v 1.7 1998/02/11 12:13:52 tom Exp $ +# $Id: mk-0th.awk,v 1.8 2000/01/09 00:29:10 tom Exp $ ############################################################################## -# Copyright (c) 1998 Free Software Foundation, Inc. # +# Copyright (c) 1998-2000 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -38,6 +38,12 @@ BEGIN { print "" print "# generated by mk-0th.awk" print "" + print ".SUFFIXES: .c .h .i" + print ".c.i :" + printf "\t$(CPP) $(CPPFLAGS) $< >$@\n" + print ".h.i :" + printf "\t$(CPP) $(CPPFLAGS) $< >$@\n" + print "" found = 0; } !/^[@#]/ { |