Move proto into its own dir.

This commit is contained in:
Ian Gulliver
2016-02-25 15:22:57 -08:00
parent 3816be8b3d
commit aa940137c1
2 changed files with 2 additions and 2 deletions

View File

@@ -16,8 +16,8 @@ clean:
%.o: %.c *.h
$(CC) -c $(CFLAGS) $< -o $@
adsb.pb-c.c: adsb.proto
protoc-c --c_out=$(dir $<) $<
adsb.pb-c.c: ../proto/adsb.proto
protoc-c --c_out=./ --proto_path=$(dir $<) $<
adsbus: adsbus.o $(OBJ_NETWORK) $(OBJ_PROTOCOL) $(OBJ_UTIL) $(OBJ_PROTO)
$(CC) $(LDFLAGS) -o adsbus adsbus.o $(OBJ_NETWORK) $(OBJ_PROTOCOL) $(OBJ_UTIL) $(OBJ_PROTO) $(LIBS)