c-libp2p/crypto/encoding/Makefile
Radu Iliescu d3858ffc26 Makefile: refactor include files
Now major include files are comming from main Makefile,
module need to add just their specific include path.
To work make the include path absolute.
2018-11-29 07:15:27 -05:00

14 lines
398 B
Makefile

CC = gcc
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