Mercurial > codedump
diff win95kggui/Makefile @ 75:dbf5ce219fe3
Switch from BASS to ft2play
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 25 Jun 2022 22:09:45 -0400 |
parents | 1508aee998df |
children | 6b3cf09d045c |
line wrap: on
line diff
--- a/win95kggui/Makefile Sat Jun 25 07:25:46 2022 -0400 +++ b/win95kggui/Makefile Sat Jun 25 22:09:45 2022 -0400 @@ -1,13 +1,13 @@ # please remind me to never create makefiles ever again -CC_FLAGS=-Wall -O2 -static -I./include -LD_FLAGS=-lbass -mwindows +CC_FLAGS=-Wall -O2 -static -I./include -DAUDIODRIVER_WINMM +LD_FLAGS=-mwindows -lwinmm win95kggui: - $(CC) -o src/win95kggui.o -c src/win95kggui.c $(CC_FLAGS) windres src/icon.rc src/icon.o -I./include - $(LD) -r -b binary -o src/bergsm.o src/bergsm.xm - $(CC) -o win95kggui.exe src/win95kggui.o src/icon.o src/bergsm.o $(CC_FLAGS) $(LD_FLAGS) + ./bin2h src/bergsm.xm + mv hdata.h include/bergsm.h + $(CC) -o win95kggui.exe src/win95kggui.c src/icon.o sub/ft2play/audiodrivers/winmm/*.c sub/ft2play/*.c $(CC_FLAGS) $(LD_FLAGS) clean: - rm -f src/*.o *.exe + rm -f include/bergsm.h src/*.o *.exe