[1c7c7d]: Makefile.rules Maximize Restore History

Download this file

Makefile.rules    31 lines (21 with data), 835 Bytes

 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
################################################################################
# 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 $@ $<