summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a9d1d9..b9b2152 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,18 @@ MANS = ${BINS:=.1}
 
 -include config.mk
 
+OBJS += imap.o
+OBJS += imbox.o
+
 all: ${BINS}
 
+imbox: ${OBJS}
+	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
+
+${OBJS}: imap.h
+
 clean:
-	rm -f ${BINS}
+	rm -f ${BINS} ${OBJS}
 
 install: ${BINS} ${MANS}
 	install -d ${PREFIX}/bin ${MANDIR}/man1