[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile.am for both windows and linux
From: |
Erik de Castro Lopo |
Subject: |
Re: Makefile.am for both windows and linux |
Date: |
Sat, 8 Mar 2008 08:04:37 +1100 |
Nitin Goyal wrote:
> Hi,
>
> How can I make use of variables in Makefile.am for automake primaries? I
> want to write Makefile.am as
>
> lib_LIBRARIES = $(PREFIX)mylib.$(LIBSUFFIX)
> libdir = ${prefix}/lib
> $(PREFIX)_mylib_$(LIBSUFFIX)_SOURCES = mylib.c
>
> I can not use libtools. Is there a way, I can achieve this?
I use autoconf/automake/libtool on two projects that compile quite
happily on Unix and windows (MinGW).
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"We respect the right of everyone to believe whatever they like. ....
But there are two important limits to religious tolerance. First, I have no
right to legal protection against your scepticism, criticism or ridicule.
Religion is too powerful a force, and is too often a cause of injustice or
evil, for it to be immune from discussion and debate."
-- David Pannick QC
http://www.timesonline.co.uk/tol/life_and_style/career_and_jobs/legal/article729808.ece