File: Makefile

package info (click to toggle)
sendmail 8.18.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,268 kB
  • sloc: ansic: 106,906; perl: 7,504; sh: 5,488; makefile: 888
file content (25 lines) | stat: -rw-r--r-- 397 bytes parent folder | download | duplicates (6)
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 *~