File: Makefile

package info (click to toggle)
altermime 0.3.10-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 892 kB
  • ctags: 828
  • sloc: ansic: 10,823; makefile: 59; sh: 15
file content (34 lines) | stat: -rw-r--r-- 774 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
26
27
28
29
30
31
32
33
34
# Wedit Makefile for project altermime
#CC=cc
#CC=ccmalloc gcc
#CFLAGS=-Wall -g
#CFLAGS=-Wall -ggdb

# Optional builds
#	ALTERMIME_PRETEXT - Allows prefixing of the email body with a file, sort of the
#								opposite of a disclaimer.
#ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT
ALTERMIME_OPTIONS=
CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o


.c.o:
	${CC} ${CFLAGS} -c $*.c

all: altermime

altermime: altermime.c ${OBJS}
	${CC} ${CFLAGS} altermime.c ${OBJS} -o altermime


# Build Install
install: altermime
	cp altermime ${DESTDIR}
	chmod a+rx ${DESTDIR}/altermime

uninstall:
	rm -f ${DESTDIR}/altermime

clean:
	rm -f *.o altermime