X-Git-Url: https://rtime.felk.cvut.cz/gitweb/omk.git/blobdiff_plain/f5ae3261decd2f2fae9b3827ef9451ab7fbf62c8..3f1f712689580a78e314f0ec01539450d5e7072d:/snippets/linux.omk diff --git a/snippets/linux.omk b/snippets/linux.omk index d69497c..77e2856 100644 --- a/snippets/linux.omk +++ b/snippets/linux.omk @@ -227,8 +227,8 @@ TARGET_GEN_SOURCES = $(filter %.c,$($(1)_SERVER_IDL:%.idl=%-skels.c)) \ $(filter %.c,$($(1)_IDL:%.idl=%.c)) TARGET_SOURCES = $($(1)_SOURCES) $(TARGET_GEN_SOURCES) TARGET_SOURCES_ABS = $($(1)_SOURCES:%=$(SOURCES_DIR)/%) $(TARGET_GEN_SOURCES) -TARGET_OBJS = $(sort $(addsuffix .o,$(basename $(TARGET_SOURCES)))) -TARGET_LOBJS = $(sort $(addsuffix .lo,$(basename $(TARGET_SOURCES)))) +TARGET_OBJS = $(sort $(addsuffix .o,$(basename $(notdir $(TARGET_SOURCES))))) +TARGET_LOBJS = $(sort $(addsuffix .lo,$(basename $(notdir $(TARGET_SOURCES))))) TARGET_IDLS = $($(1)_SERVER_IDL) $($(1)_CLIENT_IDL) $($(1)_IDL) LINK_WITH_CXX = $(filter %.cc,$(TARGET_SOURCES))$(filter %.cxx,$(TARGET_SOURCES))$$(filter %.cpp,$(TARGET_SOURCES))