summaryrefslogtreecommitdiffstats
path: root/sesman/Makefile
blob: 7844495d967dffa145ead134ee244dba8e0b41eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

SESMANOBJ = sesman.o ../common/os_calls.o

CFLAGS = -Wall -O2 -I../common
LDFLAGS = -L /usr/gnu/lib
LIBS = -lpam_userpass -lcrypto -lpthread
PAMLIB = /lib/libpam.so.0
CC = gcc

all: sesman

sesman: $(SESMANOBJ)
	$(CC) $(LDFLAGS) -o sesman $(PAMLIB) $(SESMANOBJ) $(LIBS)

clean:
	rm -f $(SESMANOBJ) sesman