File: Makefile.rules

package info (click to toggle)
pdfedit 0.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 15,032 kB
  • ctags: 21,708
  • sloc: cpp: 185,471; xml: 8,824; yacc: 1,178; ansic: 666; perl: 664; makefile: 636; sh: 371; lisp: 51
file content (30 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
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 $@ $<