19 lines
228 B
Makefile
19 lines
228 B
Makefile
|
CC = gcc
|
||
|
CFLAGS = -O0 -Wall -I../include -I../../c-protobuf
|
||
|
|
||
|
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
|