minor change to makefile
This commit is contained in:
parent
b1845aad5f
commit
d690e2093d
1 changed files with 6 additions and 6 deletions
10
Makefile
10
Makefile
|
@ -4,17 +4,17 @@ LFLAGS =
|
|||
DEPS = protobuf.h
|
||||
OBJS = protobuf.o varint.o
|
||||
|
||||
all: protobuf_reader
|
||||
cd test; make all;
|
||||
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
test_protobuf: $(OBJS)
|
||||
$(CC) -o $@ $^ $(LFLAGS)
|
||||
|
||||
protobuf_reader: $(OBJS) main.o
|
||||
$(CC) -o $@ $^
|
||||
|
||||
all: protobuf_reader
|
||||
cd test; make all;
|
||||
test_protobuf: $(OBJS)
|
||||
$(CC) -o $@ $^ $(LFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
|
Loading…
Reference in a new issue