File: Makefile

package info (click to toggle)
drawmap 1.3-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 404 kB
  • ctags: 399
  • sloc: ansic: 3,907; makefile: 61
file content (55 lines) | stat: -rw-r--r-- 1,919 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
46
47
48
49
50
51
52
53
54
55
# =========================================================================
# Makefile - Information for building drawmap, and associated programs.
# Copyright (c) 1997  Fred M. Erickson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# =========================================================================



# If you want a copyright notice inserted into the image, then
# comment out the first version of NAME, and uncomment the
# second, and put your name inside the quotes.
NAME=\"\"
#NAME=\"Fred M. Erickson\"



all: drawmap llsearch block_opt block_std man

drawmap: drawmap.c big_buf_io.c big_buf_io_z.c gunzip.c utilities.c gzip.h font_5x8.h font_6x10.h raster.h
	$(CC) -DCOPYRIGHT_NAME="${NAME}" -g -o drawmap drawmap.c big_buf_io.c big_buf_io_z.c gunzip.c utilities.c -lm

block_opt: block_opt.c
	$(CC) -g -o block_opt block_opt.c

block_std: block_std.c
	$(CC) -g -o block_std block_std.c

llsearch: llsearch.c big_buf_io.c utilities.c
	$(CC) -g -o llsearch llsearch.c big_buf_io.c utilities.c

man: drawmap.1n llsearch.1n

drawmap.1n: drawmap.1
	nroff -man drawmap.1 > drawmap.1n

llsearch.1n: llsearch.1
	nroff -man llsearch.1 > llsearch.1n

clean:
	rm -f drawmap block_opt block_std llsearch drawmap.1n llsearch.1n drawmap.o big_buf_io.o big_buf_io_z.o gunzip.o utilities.o