File: Makefile

package info (click to toggle)
beep 1.2.2-15
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 160 kB
  • ctags: 46
  • sloc: ansic: 193; makefile: 84; sh: 42
file content (19 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC=gcc
FLAGS=-Wall
EXEC_NAME=beep
INSTALL_DIR=/usr/bin
MAN_FILE=beep.1.gz
MAN_DIR=/usr/man/man1

default : beep

clean : 
	rm ${EXEC_NAME}

beep : beep.c
	${CC} ${FLAGS} -o ${EXEC_NAME} beep.c

install : 
	cp ${EXEC_NAME} ${INSTALL_DIR}
	# rm -f /usr/man/man1/beep.1.bz2
	cp ${MAN_FILE} ${MAN_DIR}