c-ipfs/commands/Makefile

16 lines
252 B
Makefile
Raw Normal View History

2016-10-27 01:16:25 +00:00
CC = gcc
CFLAGS = -O0
LFLAGS =
2016-10-27 18:11:34 +00:00
DEPS = argument.h command.h request.h command_option.h
OBJS = argument.o command.o command_option.o
2016-10-27 01:16:25 +00:00
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
2016-10-27 18:11:34 +00:00
cd cli; make all;
2016-10-27 01:16:25 +00:00
clean:
2016-10-27 18:11:34 +00:00
rm -f *.o
cd cli; make clean;