File: Makefile

package info (click to toggle)
jitterbug 1.6.2-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 572 kB
  • ctags: 403
  • sloc: ansic: 4,965; sh: 1,376; perl: 122; makefile: 49; awk: 38
file content (45 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Generated automatically from Makefile.in by configure.
#
# Makefile for Jitterbug
# 
# DO NOT EDIT this file (unless you know what you are doing and want debugging)
# To turn debugging on add -DDEBUG_COMMENTS to CFLAGS. See docs/jitterbug.doc
#
# Initial autoconf version Dan Shearer 31 Oct 97

#INSTALL_BIN=/usr/local/bin
#INSTALL_MAN=/usr/local/man
#INSTALLCMD=@INSTALL@

LIBS=
CC=gcc
CFLAGS=-g -O2

AWK=mawk

SRC=.
SHELL=/bin/sh

COMMON = util.o smtp.o notify.o lock.o list.o cgi.o loadparm.o vslprintf.o snprintf.o
OBJS = jitterbug.o search.o $(COMMON)
OBJS2 = new_message.o $(COMMON)

#I think this is a default make rule, but whatever...
.SUFFIXES: .c .o

all: jitterbug new_message

jitterbug: $(OBJS)
	$(CC) $(CFLAGS) -o jitterbug $(OBJS) $(LIBS)

new_message: $(OBJS2)
	$(CC) $(CFLAGS) -o new_message $(OBJS2) $(LIBS)

proto:
	${AWK} -f mkproto.awk *.c > proto.h

clean:
	/bin/rm -f $(OBJS) $(OBJS2) jitterbug new_message config.cache config.log config.status 

tags:
	etags *.[ch]