Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 65ee021 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:25Z (2 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
master
Children:
07eaeea
Parents:
2e328c3
git-author:
Dzejrou <dzejrou@…> (2018-07-03 00:17:13)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
Message:

cpp: fixed c++ source file detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r2e328c3 r65ee021  
    335335ifneq ($(BINARY),)
    336336
    337 ifeq ($(findstring ".cpp", $($suffix $(SOURCES))),)
     337ifneq ($(filter %.cpp %.cc %.cxx, $(SOURCES)),)
    338338$(BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBTAGS) $(CXX_BASE_LIBS)
    339339        $(CXX) $(CXXFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) -T $(LINKER_SCRIPT) -Wl,-Map,$@.map -o $@ $(OBJECTS) $(LIBARGS) $(CXX_BASE_LIBS)
Note: See TracChangeset for help on using the changeset viewer.