d3858ffc26
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.
14 lines
398 B
Makefile
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
|