2017-02-01 17:14:52 +00:00
|
|
|
CC = gcc
|
2017-07-31 21:36:08 +00:00
|
|
|
CFLAGS = -O0 -Wall -I../include -I../../c-protobuf -I../../c-multiaddr/include -std=c99
|
2017-02-01 17:14:52 +00:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
|
|
|
LFLAGS =
|
|
|
|
DEPS =
|
|
|
|
OBJS = exchange.o propose.o secio.o
|
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|