More portability changes and cleanups. 86Box now also compiles (and runs) on FreeBSD 10.4-RELEASE.

This commit is contained in:
waltje
2017-10-27 04:54:45 -04:00
parent 0bbcac68d2
commit 77d695f430
11 changed files with 40 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
#
# Makefile for Win32 (MinGW32) environment.
#
# Version: @(#)Makefile.mingw 1.0.68 2017/10/26
# Version: @(#)Makefile.mingw 1.0.69 2017/10/26
#
# Authors: Miran Grca, <mgrca8@gmail.com>
# Fred N. van Kempen, <decwiz@yahoo.com>
@@ -66,6 +66,9 @@ endif
ifndef NV_RIVA
NV_RIVA := n
endif
ifndef OPENAL
OPENAL := y
endif
ifndef FLUIDSYNTH
FLUIDSYNTH := y
endif
@@ -187,6 +190,9 @@ DYNARECOBJ := 386_dynarec_ops.o \
codegen_timing_winchip.o $(PLATCG)
endif
ifeq ($(OPENAL), y)
CFLAGS += -DUSE_OPENAL
endif
ifeq ($(FLUIDSYNTH), y)
CFLAGS += -DUSE_FLUIDSYNTH
FSYNTHOBJ := midi_fluidsynth.o