File: Makefile

package info (click to toggle)
ttylog 0.1.a-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 48 kB
  • ctags: 13
  • sloc: ansic: 120; makefile: 44
file content (18 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC = gcc
C_ARGS = -Wall -O2
INS = /usr/bin/install


all:	ttylog

ttylog:	ttylog.o
		$(CC) $(C_ARGS) -o ttylog ttylog.o

ttylog.o:	ttylog.c
		$(CC) $(C_ARGS) -c ttylog.c

clean: 
		rm -f *.o ttylog core *~

install: ttylog
	$(INS) -o root -g root -m 0755 -s ttylog debian/tmp/usr/sbin/ttylog