c-ipfs/repo/Makefile
jmjatlanta 7fa0fc6a7b Added a simplistic command line.
From the command line, you can init the repository or add a file.
Directories coming soon...
2016-12-21 08:08:44 -05:00

20 lines
286 B
Makefile

CC = gcc
CFLAGS = -O0 -I../include -I../../c-libp2p/include
ifdef DEBUG
CFLAGS += -g3
endif
DEPS =
OBJS = init.c
%.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;