Displaying 1 result from an estimated 1 matches for "mypss".
Did you mean:
mpss
2013 Jul 22
0
[LLVMdev] How to additionally compile the source files in subdirectories when using Makefile?
...is mypass/Makefile
LEVEL = ../../..
DIRS = sub
LIBRARYNAME = mypass
LOADABLE_MODULE = 1
include $(LEVEL)/Makefile.common
And mypass/sub/Makefile
LEVEL = ../../../..
# LIBRARYNAME = test_sub
# ARCHIVE_LIBRARY = 1
# LOADABLE_MODULE = 1
include $(LEVEL)/Makefile.common
When mypss/sub/Makefile uses LOADABLE_MODULE = 1 with another library name(test_sub), and by additionally loading it when using opt, it does work but I think there is a better way.
Also AFAIK, using cmake is much easier for this case since it only needs to use this configuration in mypass/Makefile:
add_ll...