blob: 69f5e93e834b02ab8cd70958e11d0e33346c85ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/make -f
SHELL= /bin/sh
# Define standard compile/install flags
CC = gcc
CFLAGS = -O2 -Wall
INSTALL = install
INCLS = -I.
DEFS =
CFLAGS += $(DEFS) $(INCLS)
LDFLAGS =
LIBS = /usr/lib/libmilter/libmilter.a \
/usr/lib/libmilter/libsm.a \
-lldap -llber \
-lbind \
-pthread
all: sample
sample: sample.c
@rm -f $@
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $? $(LIBS)
clean:
rm -rf sample *~
|