Makefile: fix test build

was broken after moving c-multiaddress and c-multihash as subprojects
This commit is contained in:
Radu Iliescu 2018-12-03 06:04:51 -05:00
parent 8267745863
commit 209e7c432e

View file

@ -5,9 +5,9 @@ ifdef DEBUG
CFLAGS += -g3
endif
LFLAGS = -L../ -L../../c-multihash -L../../c-multiaddr
LFLAGS = -L../ -L../c-multihash -L../c-multiaddr
DEPS = crypto/test_base58.h crypto/test_rsa.h test_mbedtls.h
OBJS = testit.o ../../c-protobuf/protobuf.o ../../c-protobuf/varint.o ../libp2p.a
OBJS = testit.o ../c-protobuf/protobuf.o ../c-protobuf/varint.o ../libp2p.a
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)