diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-01-18 23:37:07 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-01-18 23:37:07 +0900 |
commit | e8fd09abf68b944b05554c82adb577514cad5ca5 (patch) | |
tree | f8882715e86534cec2dc20154fd24c6bef3c668b /win32/x86 | |
parent | 09ea1fe272aca6ebb6840f02765acd44ac3ecebc (diff) |
improve FMDSP and enable title display on win32
Diffstat (limited to 'win32/x86')
-rw-r--r-- | win32/x86/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/win32/x86/Makefile b/win32/x86/Makefile index e273569..e5aad93 100644 --- a/win32/x86/Makefile +++ b/win32/x86/Makefile @@ -4,6 +4,8 @@ vpath %.c ../../libopna vpath %.c ../../fmdsp vpath %.rc .. TARGET=fmplayer.exe +ICON=../fmplayer.ico +ICONFILES=../fmplayer.png ../fmplayer32.png FMDRIVER_OBJS=fmdriver_fmp.o \ ppz8.o LIBOPNA_OBJS=opna.o \ @@ -12,8 +14,8 @@ LIBOPNA_OBJS=opna.o \ opnassg.o \ opnadrum.o \ opnaadpcm.o -FMDSP_OBJS=fmdsp.o -OBJS=main.o dsoundout.o soundout.o waveout.o uc.o lnf.o \ +FMDSP_OBJS=fmdsp.o font_rom.o +OBJS=main.o dsoundout.o soundout.o waveout.o uc.o lnf.o winfont.o \ $(FMDRIVER_OBJS) \ $(LIBOPNA_OBJS) \ $(FMDSP_OBJS) @@ -36,8 +38,11 @@ $(TARGET): $(OBJS) $(CC) -o $@ $(OBJS) $(LIBS) $(STRIP) $@ -%.o: %.rc +%.o: %.rc $(ICON) $(WINDRES) -o $@ -i $< +$(ICON): $(ICONFILES) + convert $(ICONFILES) -colors 256 $@ + clean: rm -f $(TARGET) $(OBJS) |