This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need help for an old makefile


Hi.
  This make file should work. Indeed its syntax is old.
GNU make style for implicit rules is described here
http://www.gnu.org/software/make/manual/make.html#Implicit-Rules

I added little example below. You could me answered much better here
http://savannah.gnu.org/mail/?group=make

Regards,
  Dima.

On Wed, Apr 16, 2008 at 6:36 PM, mahmoodn <nt_mahmood@yahoo.com> wrote:
>
>  Hello,
>  I have an old makefile and I want to run it but it can not be "make"ed. How
>  can I convert it to current version of makefile?:confused:



>  .H.h:
>         m4 ${MACROS} $*.H > $*.h
%.h : %.H
	m4 ${MACROS} $< > $@


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]