File: Makefile

package info (click to toggle)
voro++ 0.4.6+dfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,372 kB
  • sloc: cpp: 6,384; perl: 232; makefile: 164
file content (45 lines) | stat: -rw-r--r-- 1,480 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Voro++ makefile
#
# Author : Chris H. Rycroft (LBL / UC Berkeley)
# Email  : chr@alum.mit.edu
# Date   : August 30th 2011

# Tell make that these are phony targets
.PHONY: all help clean install uninstall

include config.mk

# Build all of the executable files
all:
	$(MAKE) -C src

# Build the help files (with Doxygen)
help:
	$(MAKE) -C src help

# Clean up the executable files
clean:
	$(MAKE) -C src clean
	$(MAKE) -C examples clean

# Uninstall the executable, man page, and shared library
uninstall:
	rm -f $(DESTDIR)$(PREFIX)/bin/voro++
	rm -f $(DESTDIR)$(PREFIX)/share/man/man1/voro++.1
	rm -f $(DESTDIR)$(PREFIX)/lib/libvoro++.*
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/voro++.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/c_loops.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/cell.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/common.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/config.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/container.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/container_prd.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/pre_container.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/rad_option.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/unitcell.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/v_base.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/v_compute.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/wall.hh
	rm -f $(DESTDIR)$(PREFIX)/include/voro++/worklist.hh
	rm -f $(DESTDIR)$(PREFIX)/share/doc/voro++/
	rmdir $(DESTDIR)$(PREFIX)/include/voro++