File: Makefile

package info (click to toggle)
swarm-cluster 3.1.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,504 kB
  • sloc: cpp: 7,525; python: 200; makefile: 131; sh: 13
file content (42 lines) | stat: -rw-r--r-- 1,216 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
# SWARM
#
# Copyright (C) 2012-2025 Torbjorn Rognes and Frederic Mahe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# Contact: Torbjorn Rognes <torognes@ifi.uio.no>,
# Department of Informatics, University of Oslo,
# PO Box 1080 Blindern, NO-0316 Oslo, Norway

# Makefile for SWARM

PROG=bin/swarm
MAN=man/swarm.1

ifndef PREFIX
	PREFIX=/usr/local
endif

swarm : $(PROG)

$(PROG) :
	$(MAKE) -C src swarm

install : $(PROG) $(MAN)
	/usr/bin/install -c $(PROG) $(PREFIX)/bin
	/usr/bin/install -d $(PREFIX)/share/man/man1
	/usr/bin/install -c $(MAN) $(PREFIX)/share/man/man1

clean :
	$(MAKE) -C src clean