default: sillymachine floattobitshelper: ./src/floattobitshelper.c ./src/floattobitshelper.h gcc -c src/floattobitshelper.c -o floattobitshelper.o ar -crs floattobitshelper.a floattobitshelper.o floatwin: ./src/floattobitshelper.c ./src/floattobitshelper.h x86_64-w64-mingw32-gcc -c src/floattobitshelper.c -o floatwin.o -lwinmm -lgdi32 ar -crs floattobitshelper.a floatwin.o sillymachine: ./src/sillymachine.adb ./src/*.adb ./src/*.ads floattobitshelper gnatmake ./src/sillymachine.adb -largs -L./ -l:floattobitshelper.a debug: ./src/sillymachine.adb ./src/*.adb ./src/*.ads gnatmake ./src/sillymachine.adb -o sillymachine-debug -g win: ./src/sillymachine.adb ./src/*.adb ./src/*.ads floatwin x86_64-w64-mingw32-gnatmake src/sillymachine.adb -lwinmm -lgdi32 -largs -L./ -l:floattobitshelper.a all: sillymachine win clean: rm *.o *.ali *.a sillymachine.exe sillymachine sillymachine-debug