File: rules

package info (click to toggle)
solvate 1.0-3
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 4,344 kB
  • sloc: ansic: 3,891; sh: 16; makefile: 9
file content (24 lines) | stat: -rwxr-xr-x 466 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS

CFLAGS=-O2 -g

%:
	dh $@

override_dh_auto_build:
	# equivalent to upstream's Makefiles
	$(CC) $(CFLAGS) -o solvate solvate.c -lm

override_dh_auto_clean:
	dh_auto_clean
	rm -f solvate

#	# in debian/solvate-doc.docs
#	#cp *.pdb *.psf $(CURDIR)/debian/solvate/usr/share/doc/solvate-doc/