File: rules

package info (click to toggle)
zp 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 220 kB
  • ctags: 213
  • sloc: cpp: 2,443; sh: 251; makefile: 13
file content (26 lines) | stat: -rwxr-xr-x 478 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
#!/usr/bin/make -f

PACKAGE		= zp
CXX		= g++

# -DOPT Do not use (Upstream's note)
# -DNDEBUG removes run time checks for better speed.

LIBS 	 = -lm
CXXFLAGS += -I. -Wall -pedantic -Dunix -DNDEBUG -fomit-frame-pointer

man:
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman

override_dh_installchangelogs:
	dh_installchangelogs $(CHANGELOG)

override_dh_auto_build: man
	$(CXX) $(CXXFLAGS) -o $(PACKAGE) $(PACKAGE).cpp $(LIBS)

%:
	dh  $@

.PHONY: man

# End of file