From d690e2093dae19d19bedd939b5108a305c0e72d8 Mon Sep 17 00:00:00 2001 From: John Jones Date: Thu, 11 May 2017 19:51:22 +0000 Subject: [PATCH] minor change to makefile --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b0d2936..fbd81be 100644 --- a/Makefile +++ b/Makefile @@ -4,18 +4,18 @@ 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 rm -f protobuf_reader;