bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUmakefile


From: Julien Isorce
Subject: GNUmakefile
Date: Tue, 24 Feb 2009 19:57:06 +0100

Hi,

I have a project where there is severals source directories: source1, source2, source3
I want to compile the project to make only one shared library.
I have tried to use the following:


in the top directory:
------------------------------------------------------------------------
include $(GNUSTEP_MAKEFILES)/common.make
SUBPROJECTS = source1 source2
include $(GNUSTEP_MAKEFILES)/aggregate.make
------------------------------------------------------------------------


in source1 dir:
------------------------------------------------------------------------
include $(GNUSTEP_MAKEFILES)/common.make

LIBRARY_NAME = libmylib

libmylib_C_FILES = file11.c file12.c

include $(GNUSTEP_MAKEFILES)/library.make
------------------------------------------------------------------------

and in source2:
------------------------------------------------------------------------
include $(GNUSTEP_MAKEFILES)/common.make

LIBRARY_NAME = libmylib

libmylib_C_FILES += file21.c file22.c

include $(GNUSTEP_MAKEFILES)/library.make
------------------------------------------------------------------------


but it does not work.

Any solution ?

Thx

Sincerely

Julien


reply via email to

[Prev in Thread] Current Thread [Next in Thread]