Imported both gpgdir and gpgwrap projects.
[pgp-tools.git] / gpgwrap / src / Makefile
diff --git a/gpgwrap/src/Makefile b/gpgwrap/src/Makefile
new file mode 100644 (file)
index 0000000..2527174
--- /dev/null
@@ -0,0 +1,15 @@
+CC=${DIET} gcc -s -Wall -O2 -fomit-frame-pointer
+STRIP=strip -R .note -R .comment
+RM=rm -f
+TARGET=../bin/gpgwrap
+
+.PHONY: all clean
+
+all: ${TARGET}
+
+${TARGET}: gpgwrap.c
+       ${CC} -o ${TARGET} gpgwrap.c
+       ${STRIP} ${TARGET} 2>/dev/null || true
+
+clean:
+       ${RM} ${TARGET}