c-ipfs/commands/Makefile

18 lines
472 B
Makefile
Raw Normal View History

2016-10-26 20:16:25 -05:00
CC = gcc
2016-12-05 06:54:21 -05:00
CFLAGS = -O0 -I../include -I../../c-libp2p/include -Wall
2016-10-26 20:16:25 -05:00
LFLAGS =
DEPS = ../include/ipfs/commands/argument.h ../include/ipfs/commands/command_option.h \
../include/ipfs/commands/command.h ../include/ipfs/commands/context.h \
../include/ipfs/commands/req_log.h ../include/ipfs/commands/request.h
2016-10-27 13:11:34 -05:00
OBJS = argument.o command.o command_option.o
2016-10-26 20:16:25 -05:00
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
2016-10-27 13:11:34 -05:00
cd cli; make all;
2016-10-26 20:16:25 -05:00
clean:
2016-10-27 13:11:34 -05:00
rm -f *.o
cd cli; make clean;