File: Makefile

package info (click to toggle)
sma 1.4-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 544 kB
  • ctags: 687
  • sloc: ansic: 6,291; sh: 163; perl: 148; makefile: 61
file content (27 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (5)
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
#
# $Id: Makefile,v 1.3 2001/10/29 10:24:37 jt Exp $
#

BINDIR = /usr/bin
MANDIR = /usr/man/man8

CC	= gcc
# XPG3 regular expressions (GNU/BSD/SVR4)
CFLAGS	= -Wall -O -DUSE_REGEXP
# Others
#CFLAGS	= -Wall -O

MAN	= sma.8
PROG	= sma
OBJS    = sma.o getopt.o parse.o utils.o hash.o html.o ascii.o init.o

$(PROG): $(OBJS)
	$(CC) $(CFLAGS) -o $(PROG) $(OBJS) 
	cp docs/$(MAN) .

clean:
	rm -f $(PROG) $(PROG).exe $(OBJS) $(MAN) core

install:
	./install-sh $(PROG) $(BINDIR)
	./install-sh $(MAN) $(MANDIR)