diff options
author | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
---|---|---|
committer | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
commit | 061430973e82995368d27ff9081391f9475da3c7 (patch) | |
tree | 62ac12e6cff789050ca17f00ac70d85de75e3efd /host/Makefile | |
parent | 23e5d273ef3e11c8ad463c632daa5a52684bc5bb (diff) | |
download | candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.gz candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.bz2 candlestick-061430973e82995368d27ff9081391f9475da3c7.zip |
fish
Diffstat (limited to 'host/Makefile')
-rw-r--r-- | host/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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} + |