2016-10-27 01:14:07 +00:00
|
|
|
CC = gcc
|
2017-03-21 15:20:52 +00:00
|
|
|
CFLAGS = -O0 -I../include -I../../c-libp2p/include -std=c99
|
2016-11-10 13:28:51 +00:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
2016-11-07 21:29:30 +00:00
|
|
|
DEPS =
|
2016-12-21 13:08:44 +00:00
|
|
|
OBJS = init.c
|
2016-10-27 01:14:07 +00:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
2016-10-27 18:11:34 +00:00
|
|
|
cd config; make all;
|
|
|
|
cd fsrepo; make all;
|
2016-10-27 01:14:07 +00:00
|
|
|
clean:
|
2016-10-27 18:11:34 +00:00
|
|
|
rm -f *.o
|
|
|
|
cd config; make clean;
|
2017-03-21 15:20:52 +00:00
|
|
|
cd fsrepo; make clean;
|