Fix a bug in Makefile that fail to make output directory.

This commit is contained in:
Ethan Bao 2015-08-20 10:13:49 -07:00
parent 14bef99b03
commit 8cb3496eff
1 changed files with 1 additions and 4 deletions

View File

@ -41,11 +41,8 @@ DEPS:= $(shell find google $(PROTOINCLUDE)/google/protobuf -type f -name '*.prot
all: $(DEPS)
ifdef OUTPUT
mkdir -p $(OUTPUT)
endif
%.$(SUFFIX): %.proto
mkdir -p $(OUTPUT)
protoc $(FLAGS) $*.proto
clean: