Move proto into its own dir.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user