c-libp2p/crypto/encoding/Makefile
Radu Iliescu 8d3957f3b8 Makefile: refactor CFLAGS to come from main Makefile
Also remove CC and link flags since linking is done in main Makefile
2018-12-03 07:22:33 -05:00

13 lines
389 B
Makefile

LFLAGS =
DEPS = ../../include/libp2p/crypto/encoding/base58.h ../../include/libp2p/crypto/encoding/base64.h \
../../include/libp2p/crypto/encoding/x509.h ../../include/libp2p/crypto/encoding/base16.h \
../../include/libp2p/crypto/encoding/base32.h
OBJS = base58.o base64.o x509.o base16.o base32.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) -std=c99
all: $(OBJS)
clean:
rm -f *.o