diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 10299f7..c7e69c3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -48,10 +48,10 @@ else CFLAGS += -DUSE_PTHREADS=0 endif -all: libpkcs11.so +all: libpkcs11.so p11util clean: - rm -rf pkcs11.o pkcs11.so libpkcs11.so* schema.h attributes.h + rm -rf pkcs11.o pkcs11.so libpkcs11.so* p11util p11util.o schema.h attributes.h distclean: clean rm -f TAGS @@ -71,6 +71,12 @@ pkcs11.so: pkcs11.o ${LIBS} libpkcs11.so: pkcs11.so objcopy -w -G 'C_*' $< $@ +p11util.o: p11util.c sql_common.h schema.h + ${CC} ${CFLAGS} -c $< + +p11util: p11util.o ${LIBS} + ${CC} ${CFLAGS} -o $@ -g $^ + tags: TAGS TAGS: *.[ch] |