2
0

Makefile 352 B

123456789101112
  1. -include ../../mconfig
  2. CXX_FOR_BUILD ?= $(CXX)
  3. CXXFLAGS_FOR_BUILD ?= $(CXXFLAGS) $(CXXFLAGS_EXTRA)
  4. CPPFLAGS_FOR_BUILD ?= $(CPPFLAGS)
  5. LDFLAGS_FOR_BUILD ?= $(LDFLAGS) $(LDFLAGS_EXTRA)
  6. mconfig-gen: mconfig-gen.cc
  7. $(CXX_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) -o mconfig-gen mconfig-gen.cc $(LDFLAGS_FOR_BUILD)
  8. clean:
  9. rm -f mconfig-gen