forked from Imagelibrary/rtems
* Adopt more automake rules: * automake/compile.am: Add LINK, CXXLINK, AS, ASCOMPILE; Remove ARFLAGS, LINK.c, COMPILE.S, LINK.cc; Add CPU_CFLAGS to CXXFLAGS, CFLAGS, ASFLAGS; * automake/leaf.am: Add CXXLINK_APP, LINK_APP, make-exe, apply CXXLINK_APP in make-cxx-exe. * automake/lib.am: Add ARFLAGS.
17 lines
284 B
Plaintext
17 lines
284 B
Plaintext
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
|
|
CXXLINK_APP = $(CXXLINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS)
|
|
ifndef make-cxx-exe
|
|
define make-cxx-exe
|
|
$(CXXLINK_APP)
|
|
endef
|
|
@ENDIF@
|
|
|
|
LINK_APP = $(LINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS)
|
|
ifndef make-exe
|
|
define make-exe
|
|
$(LINK_APP)
|
|
endef
|
|
@ENDIF@
|
|
|