|
From: | William S Fulton |
Subject: | Specifying include directories for groups of source files |
Date: | Wed, 04 Dec 2002 19:35:50 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 |
Motivation: We don't want to use libtool and having a separate Makefile.am each with its own _LIBRARIES does not work on all platforms, notably using native Windows compilers. This is what I have at the moment, but it uses the same INCLUDES for all groups:
# Makefile.am INCLUDES = -I$(top_srcdir)/Group1/Include -I$(top_srcdir)/Group2 group1 = Group1/file1.c Group1/file2.c group2 = Group2/fileA.c Group2/fileB.c bin_PROGRAMS = myprog myprog_SOURCES = $(group1) $(group2) Thanks William
[Prev in Thread] | Current Thread | [Next in Thread] |