summaryrefslogtreecommitdiffstats
path: root/sesman/Makefile
blob: 252839fe3b52607c36a7f54219fa4ca844c9e851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

SESMANOBJ = sesman.o os_calls.o d3des.o

CFLAGS = -Wall -O2 -I../common
C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS = -L /usr/gnu/lib
LIBS = -lpam_userpass -lpam
PAMLIB =
CC = gcc

all: sesman

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

clean:
	rm -f $(SESMANOBJ) sesman

os_calls.o:
	$(CC) $(C_OS_FLAGS) ../common/os_calls.c

d3des.o:
	$(CC) $(C_OS_FLAGS) ../common/d3des.c