20 lines
No EOL
287 B
Makefile
20 lines
No EOL
287 B
Makefile
CC = gcc
|
|
CFLAGS = -O0 -I../include -I../../c-libp2p/include
|
|
|
|
ifdef DEBUG
|
|
CFLAGS += -g3
|
|
endif
|
|
|
|
DEPS =
|
|
OBJS = repo.o
|
|
|
|
%.o: %.c $(DEPS)
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
all: $(OBJS)
|
|
cd config; make all;
|
|
cd fsrepo; make all;
|
|
clean:
|
|
rm -f *.o
|
|
cd config; make clean;
|
|
cd fsrepo; make clean;
|