URC=$(GT_DIR)/Bin/URC.exe
SYMBOL_FILES=\
	head-and-tail-symbols.yabsl \
	special-action-symbols.yabsl \
	led-and-sound-symbols.yabsl \
	kick-selection-symbols.yabsl

all: $(SYMBOL_FILES)

rebuild: clean
	@make all

clean:
	rm $(SYMBOL_FILES)

special-action-symbols.yabsl: $(URC) $(GT_DIR)/Src/Representations/Motion/MotionRequest.h 
	$(URC) /specialAction

head-and-tail-symbols.yabsl: $(URC) $(GT_DIR)/Src/Representations/Motion/MotionRequest.h $(GT_DIR)/Src/Representations/Motion/HeadControlMode.h
	$(URC) /headTail

led-and-sound-symbols.yabsl: $(URC) $(GT_DIR)/Src/Representations/Motion/LEDRequest.h $(GT_DIR)/Src/Representations/Sound/SoundRequest.h
	$(URC) /ledSound

kick-selection-symbols.yabsl: $(URC) $(GT_DIR)/Src/Tools/KickSelectionTable.h
	$(URC) /kickSelection
