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
|
DEPS = protobuf.h
|
||||||
OBJS = protobuf.o varint.o
|
OBJS = protobuf.o varint.o
|
||||||
|
|
||||||
|
all: protobuf_reader
|
||||||
|
cd test; make all;
|
||||||
|
|
||||||
%.o: %.c $(DEPS)
|
%.o: %.c $(DEPS)
|
||||||
$(CC) -c -o $@ $< $(CFLAGS)
|
$(CC) -c -o $@ $< $(CFLAGS)
|
||||||
|
|
||||||
test_protobuf: $(OBJS)
|
|
||||||
$(CC) -o $@ $^ $(LFLAGS)
|
|
||||||
|
|
||||||
protobuf_reader: $(OBJS) main.o
|
protobuf_reader: $(OBJS) main.o
|
||||||
$(CC) -o $@ $^
|
$(CC) -o $@ $^
|
||||||
|
|
||||||
all: protobuf_reader
|
test_protobuf: $(OBJS)
|
||||||
cd test; make all;
|
$(CC) -o $@ $^ $(LFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
|
|
Loading…
Reference in a new issue