File: Makefile

package info (click to toggle)
atp 1.2-7
  • links: PTS
  • area: main
  • in suites: potato
  • size: 144 kB
  • ctags: 123
  • sloc: ansic: 1,745; makefile: 47
file content (34 lines) | stat: -rw-r--r-- 595 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
28
29
30
31
32
33
34
# Makefile for  atp
# 18 Jan 95   atp2 v1.2

# CC=acc
# CC=cc
CC=gcc
LDFLAGS=-lpaper

#To compile under MSDOS you may have to add -DMSDOS here, e.g., under
#TurboC++1.0

#LETTER_SIZE selects default US paper format. Remove this flag to select A4
CFLAGS=-DLETTER_SIZE -O3

BINDIR=/usr/local/bin
MANDIR=/usr/local/man/man1

atp: atp.o width.o
	$(CC) $(CFLAGS) $(LDFLAGS) atp.o width.o -o atp

atp.o: atp.c

width.o: width.c

install: atp
	cp    atp ${BINDIR}/atp
	#chmod 555 ${BINDIR}/atp
	cp  atp.1 ${MANDIR}/atp.1
	#chmod 444 ${MANDIR}/atp.1

clean:
	rm -f core *.o atp

# end Makefile for  atp