From 061430973e82995368d27ff9081391f9475da3c7 Mon Sep 17 00:00:00 2001 From: James McKenzie Date: Mon, 3 Aug 2015 10:34:07 +0100 Subject: fish --- host/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 host/Makefile (limited to 'host/Makefile') diff --git a/host/Makefile b/host/Makefile new file mode 100644 index 0000000..667d094 --- /dev/null +++ b/host/Makefile @@ -0,0 +1,17 @@ +INCLUDES=$(shell pkg-config --cflags libusb-1.0) +LIBS=$(shell pkg-config --libs libusb-1.0) + +PROG=cryptopad +CSRCS=main.c hexdump.c + +OBJS=${CSRCS:%.c=%.o} + +CFLAGS=${OPT} +CPPFLAGS=${INCLUDES} ${DEFINES} + +${PROG}:${OBJS} + ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} + +clean: + /bin/rm -f *~ *.d ${PROG} ${OBJS} + -- cgit v1.2.3