File: Makefile

package info (click to toggle)
falselogin 0.3-4
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, lenny, sid, squeeze, stretch, wheezy
  • size: 56 kB
  • ctags: 15
  • sloc: ansic: 125; makefile: 57; perl: 20
file content (19 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
LIBS = -lpub
C_ARGS = -Wall
CC = gcc
INS = /usr/bin/install

all:	falselogin

install: falselogin
	$(INS) -D -o root -g root -m 0755 falselogin $(DESTDIR)/usr/bin/falselogin
	$(INS) -D -o root -g root -m 0644 falselogin.conf $(DESTDIR)/etc/falselogin.conf

clean:
	rm -f *.o falselogin

falselogin:	falselogin.o
	$(CC) -o falselogin falselogin.o $(LIBS)

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