# Type
#     "make"
# to get rmg185.exe
#

OPTIONS = -Wall -Wno-write-strings

.PHONY : rmg185
rmg146: rmg185.exe

rmg185.exe : rmg185.o
	gcc -o rmg185.exe rmg185.o -L./RoBoIO -lRBIO -lstdc++

rmg185.o : src/rmg185.cpp
	gcc -c src/rmg185.cpp $(OPTIONS) -I./RoBoIO/Include

.PHONY : clean
clean :
	-rm rmg185.exe rmg185.o
