blob: e03418f878d9eb6563ceb510aaa41a199220a24a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# file : build/cxx/rules.make
# author : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2006-2010 Code Synthesis Tools CC
# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
include $(root)/build/config.make
# Rules.
#
%.o: %.cxx
$(CXX) $(CPPFLAGS) $(EXTRA_CPPFLAGS) $(CXXFLAGS) -c $< -o $@
%: %.o
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
ifneq ($(POSTLD),)
$(POSTLD) $@ $^ $(LIBS)
endif
|