c-ipfs/flatfs/Makefile

19 lines
249 B
Makefile

CC = gcc
CFLAGS = -O0 -I../include -I../c-libp2p/include -Wall -std=gnu99
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