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
_______________________________________________