Mercurial > codedump
comparison 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 |
comparison
equal
deleted
inserted
replaced
74:2057ab53f04e | 75:dbf5ce219fe3 |
---|---|
1 # please remind me to never create makefiles ever again | 1 # please remind me to never create makefiles ever again |
2 | 2 |
3 CC_FLAGS=-Wall -O2 -static -I./include | 3 CC_FLAGS=-Wall -O2 -static -I./include -DAUDIODRIVER_WINMM |
4 LD_FLAGS=-lbass -mwindows | 4 LD_FLAGS=-mwindows -lwinmm |
5 | 5 |
6 win95kggui: | 6 win95kggui: |
7 $(CC) -o src/win95kggui.o -c src/win95kggui.c $(CC_FLAGS) | |
8 windres src/icon.rc src/icon.o -I./include | 7 windres src/icon.rc src/icon.o -I./include |
9 $(LD) -r -b binary -o src/bergsm.o src/bergsm.xm | 8 ./bin2h src/bergsm.xm |
10 $(CC) -o win95kggui.exe src/win95kggui.o src/icon.o src/bergsm.o $(CC_FLAGS) $(LD_FLAGS) | 9 mv hdata.h include/bergsm.h |
10 $(CC) -o win95kggui.exe src/win95kggui.c src/icon.o sub/ft2play/audiodrivers/winmm/*.c sub/ft2play/*.c $(CC_FLAGS) $(LD_FLAGS) | |
11 | 11 |
12 clean: | 12 clean: |
13 rm -f src/*.o *.exe | 13 rm -f include/bergsm.h src/*.o *.exe |