36 lines
843 B
Makefile
36 lines
843 B
Makefile
|
################################################################
|
||
|
# Makefile for librfc822.a
|
||
|
#
|
||
|
# Author: Jan Wielemaker (wielemak@science.uva.nl)
|
||
|
################################################################
|
||
|
|
||
|
CC=../../../swipl-ld.sh
|
||
|
CFLAGS=-fPIC -Wall -DHAVE_CONFIG_H
|
||
|
LIBS=
|
||
|
AR=ar
|
||
|
RANLIB=ranlib
|
||
|
|
||
|
OBJ= rfc822.o rfc822_getaddr.o rfc822_getaddrs.o \
|
||
|
rfc822_mkdate.o rfc822_parsedt.o rfc2047u.o \
|
||
|
rfc2047.o imapsubj.o imaprefs.o
|
||
|
|
||
|
all: librfc822.a
|
||
|
|
||
|
librfc822.a: $(OBJ)
|
||
|
rm -f librfc822.a
|
||
|
$(AR) r librfc822.a $(OBJ)
|
||
|
$(RANLIB) librfc822.a
|
||
|
|
||
|
|
||
|
################################################################
|
||
|
# Clean
|
||
|
################################################################
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJ) *~ *.o *% a.out core config.log
|
||
|
|
||
|
distclean: clean
|
||
|
rm -f Makefile config.status config.h librfc822.a
|
||
|
rm -rf autom4te.cache
|
||
|
rm -f stamp-h1
|