c-ipfs/flatfs/Makefile

20 lines
235 B
Makefile
Raw Normal View History

CC = gcc
CFLAGS = -O0 -I../include -I../../c-libp2p/include
ifdef DEBUG
CFLAGS += -g3
endif
LFLAGS =
DEPS = ../include/flatfs/flatfs.h
OBJS = flatfs.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
clean:
rm -f *.o