]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - mk-0th.awk
ncurses 5.1
[ncurses.git] / mk-0th.awk
index b7a40fdc18097e7f8c06b1334e11b5d20bfde83e..5173269e440aa64399d40337877082efc680dc50 100644 (file)
@@ -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;
        }
        !/^[@#]/ {