c-ipfs/flatfs/Makefile

20 lines
241 B
Makefile
Raw Normal View History

CC = gcc
2016-12-05 11:54:21 +00:00
CFLAGS = -O0 -I../include -I../../c-libp2p/include -Wall
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