1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
################################################################################
# This file contains general building rules with configuration info
#
# Include this file to the each subdirectory makefile. Note that REL_ADDR
# variable has to be defined if we are in deeper subdirectory.
#
# If you need only configuration data, use Makefile.flags instead
################################################################################
include $(REL_ADDR)Makefile.flags
####### Implicit rules
.SUFFIXES: .c .o .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(MANDATORY_INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(MANDATORY_INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(MANDATORY_INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(MANDATORY_INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(MANDATORY_INCPATH) -o $@ $<
|