File: niceprint.mak

package info (click to toggle)
libmath++ 0.0.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 412 kB
  • ctags: 232
  • sloc: cpp: 1,311; makefile: 63; sh: 17
file content (27 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download | duplicates (4)
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
##########################################################################
### modified print look for gmake output (generic)
### written by Christian Parpart (SurakWare) <cparpart@surakware.net>
##########################################################################

LTCXXCOMPILE = $(LIBTOOL) --quiet --mode=compile $(CXX) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CXXFLAGS) $(CXXFLAGS)

CXXLINK = \
	@echo "creating $@:"; \
	$(LIBTOOL) --quiet --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@

.cpp.o:
	@echo "compiling $<:"
	@source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CXXDEPMODE) $(depcomp) \
	$(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<

.cpp.lo:
	@echo "compiling $<:"
	@source='$<' object='$@' libtool=yes \
	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
	$(CXXDEPMODE) $(depcomp) \
	$(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<