20 lines
235 B
Makefile
20 lines
235 B
Makefile
|
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
|