2018-05-06 18:52:23 +00:00
|
|
|
##
|
|
|
|
## Supermodel
|
|
|
|
## A Sega Model 3 Arcade Emulator.
|
2022-06-23 19:34:02 +00:00
|
|
|
## Copyright 2003-2022 The Supermodel Team
|
2018-05-06 18:52:23 +00:00
|
|
|
##
|
|
|
|
## This file is part of Supermodel.
|
|
|
|
##
|
|
|
|
## Supermodel is free software: you can redistribute it and/or modify it under
|
2020-07-27 10:28:48 +00:00
|
|
|
## the terms of the GNU General Public License as published by the Free
|
2018-05-06 18:52:23 +00:00
|
|
|
## Software Foundation, either version 3 of the License, or (at your option)
|
|
|
|
## any later version.
|
|
|
|
##
|
|
|
|
## Supermodel is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
## more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License along
|
|
|
|
## with Supermodel. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
##
|
|
|
|
|
|
|
|
#
|
2020-07-27 10:28:48 +00:00
|
|
|
# Rules.inc
|
2018-05-06 18:52:23 +00:00
|
|
|
#
|
2020-07-27 10:28:48 +00:00
|
|
|
# Build rules, included by all (platform-specific) top-level Makefiles.
|
2018-05-06 18:52:23 +00:00
|
|
|
#
|
2018-01-22 21:01:35 +00:00
|
|
|
|
|
|
|
|
2020-11-06 09:24:16 +00:00
|
|
|
###############################################################################
|
|
|
|
# Output Locations
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
OBJ_DIR = obj$(strip $(BITS))
|
|
|
|
BIN_DIR = bin$(strip $(BITS))
|
|
|
|
|
|
|
|
OUTFILE = supermodel
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Compiler Flags
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
#
|
|
|
|
# Construct Supermodel build options
|
|
|
|
#
|
2020-12-24 10:20:26 +00:00
|
|
|
SUPERMODEL_BUILD_FLAGS =
|
2020-11-06 09:24:16 +00:00
|
|
|
|
|
|
|
# If render state analyser is enabled, need to define DEBUG
|
|
|
|
ifeq ($(strip $(DEBUG)),1)
|
|
|
|
SUPERMODEL_BUILD_FLAGS += -DDEBUG
|
|
|
|
endif
|
|
|
|
|
|
|
|
# If Net Board support is enabled, need to define NET_BOARD
|
|
|
|
ifeq ($(strip $(NET_BOARD)),1)
|
|
|
|
SUPERMODEL_BUILD_FLAGS += -DNET_BOARD
|
|
|
|
endif
|
|
|
|
|
|
|
|
# If Bart's new frame timing is enabled, need to define NEW_FRAME_TIMING
|
|
|
|
ifeq ($(strip $(NEW_FRAME_TIMING)),1)
|
|
|
|
SUPERMODEL_BUILD_FLAGS += -DNEW_FRAME_TIMING
|
|
|
|
endif
|
|
|
|
|
|
|
|
# If built-in debugger enabled, need to define SUPERMODEL_DEBUGGER
|
|
|
|
ifeq ($(strip $(ENABLE_DEBUGGER)),1)
|
|
|
|
SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_DEBUGGER
|
|
|
|
endif
|
|
|
|
|
2020-12-24 10:20:26 +00:00
|
|
|
#
|
2020-11-06 09:24:16 +00:00
|
|
|
# Compiler options
|
|
|
|
#
|
2020-12-24 10:20:26 +00:00
|
|
|
ARCH =
|
2020-12-27 13:14:37 +00:00
|
|
|
OPT = -O3
|
2020-11-06 09:24:16 +00:00
|
|
|
WARN = -Wall
|
|
|
|
CSTD = -std=iso9899:2011
|
2021-02-18 10:29:15 +00:00
|
|
|
CXXSTD = -std=c++17
|
2020-11-06 09:24:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Construct the compiler (C and C++) and linker flags
|
|
|
|
#
|
|
|
|
COMMON_CFLAGS = -c $(ARCH) $(OPT) $(WARN) $(addprefix -I,$(sort $(INCLUDE_DIRS))) -DGLEW_STATIC $(SUPERMODEL_BUILD_FLAGS)
|
|
|
|
CFLAGS = $(COMMON_CFLAGS) $(CSTD)
|
|
|
|
CXXFLAGS = $(PLATFORM_CXXFLAGS) $(COMMON_CFLAGS) $(CXXSTD)
|
|
|
|
LDFLAGS = -o $(BIN_DIR)/$(OUTFILE) $(PLATFORM_LDFLAGS) -s
|
|
|
|
|
|
|
|
|
2018-01-22 21:01:35 +00:00
|
|
|
###############################################################################
|
|
|
|
# Source Files
|
|
|
|
###############################################################################
|
|
|
|
|
2018-05-06 18:52:23 +00:00
|
|
|
SRC_FILES = \
|
|
|
|
Src/CPU/PowerPC/PPCDisasm.cpp \
|
|
|
|
Src/BlockFile.cpp \
|
|
|
|
Src/Pkgs/unzip.cpp \
|
|
|
|
Src/Pkgs/ioapi.cpp \
|
|
|
|
Src/Model3/93C46.cpp \
|
|
|
|
Src/Util/BitRegister.cpp \
|
|
|
|
Src/JTAG.cpp \
|
|
|
|
Src/Graphics/Legacy3D/Error.cpp \
|
|
|
|
Src/Pkgs/glew.cpp \
|
|
|
|
Src/Graphics/Shader.cpp \
|
|
|
|
Src/Model3/Real3D.cpp \
|
|
|
|
Src/Graphics/Legacy3D/Legacy3D.cpp \
|
|
|
|
Src/Graphics/Legacy3D/Models.cpp \
|
|
|
|
Src/Graphics/Legacy3D/TextureRefs.cpp \
|
2018-10-01 17:42:45 +00:00
|
|
|
Src/Graphics/New3D/GLSLShader.cpp \
|
|
|
|
Src/Graphics/New3D/R3DFrameBuffers.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/Graphics/New3D/New3D.cpp \
|
|
|
|
Src/Graphics/New3D/Mat4.cpp \
|
|
|
|
Src/Graphics/New3D/Model.cpp \
|
|
|
|
Src/Graphics/New3D/PolyHeader.cpp \
|
|
|
|
Src/Graphics/New3D/VBO.cpp \
|
|
|
|
Src/Graphics/New3D/Vec.cpp \
|
|
|
|
Src/Graphics/New3D/R3DShader.cpp \
|
|
|
|
Src/Graphics/New3D/R3DFloat.cpp \
|
|
|
|
Src/Graphics/New3D/R3DScrollFog.cpp \
|
2023-09-23 16:28:18 +00:00
|
|
|
Src/Graphics/FBO.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/Graphics/Render2D.cpp \
|
|
|
|
Src/Model3/TileGen.cpp \
|
|
|
|
Src/Model3/Model3.cpp \
|
|
|
|
Src/CPU/PowerPC/ppc.cpp \
|
|
|
|
Src/OSD/SDL/Main.cpp \
|
|
|
|
Src/OSD/SDL/Audio.cpp \
|
|
|
|
Src/OSD/SDL/Thread.cpp \
|
|
|
|
Src/Model3/SoundBoard.cpp \
|
|
|
|
Src/Sound/SCSP.cpp \
|
|
|
|
Src/Sound/SCSPDSP.cpp \
|
|
|
|
Src/CPU/68K/68K.cpp \
|
|
|
|
$(OBJ_DIR)/m68kcpu.c \
|
|
|
|
$(OBJ_DIR)/m68kopnz.c \
|
|
|
|
$(OBJ_DIR)/m68kopdm.c \
|
|
|
|
$(OBJ_DIR)/m68kopac.c \
|
|
|
|
$(OBJ_DIR)/m68kops.c \
|
|
|
|
Src/Model3/DSB.cpp \
|
|
|
|
Src/CPU/Z80/Z80.cpp \
|
|
|
|
Src/Model3/IRQ.cpp \
|
|
|
|
Src/Model3/53C810.cpp \
|
|
|
|
Src/Model3/PCI.cpp \
|
|
|
|
Src/Model3/RTC72421.cpp \
|
2021-02-18 10:29:15 +00:00
|
|
|
Src/Model3/DriveBoard/DriveBoard.cpp \
|
|
|
|
Src/Model3/DriveBoard/WheelBoard.cpp \
|
|
|
|
Src/Model3/DriveBoard/JoystickBoard.cpp \
|
|
|
|
Src/Model3/DriveBoard/SkiBoard.cpp \
|
|
|
|
Src/Model3/DriveBoard/BillBoard.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/Model3/MPC10x.cpp \
|
|
|
|
Src/Inputs/Input.cpp \
|
|
|
|
Src/Inputs/Inputs.cpp \
|
|
|
|
Src/Inputs/InputSource.cpp \
|
|
|
|
Src/Inputs/InputSystem.cpp \
|
|
|
|
Src/Inputs/InputTypes.cpp \
|
|
|
|
Src/Inputs/MultiInputSource.cpp \
|
|
|
|
Src/OSD/SDL/SDLInputSystem.cpp \
|
2022-12-23 16:36:26 +00:00
|
|
|
Src/OSD/SDL/Crosshair.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/OSD/Outputs.cpp \
|
2019-02-21 14:57:57 +00:00
|
|
|
Src/Sound/MPEG/MpegAudio.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/Model3/Crypto.cpp \
|
|
|
|
Src/OSD/Logger.cpp \
|
|
|
|
Src/Util/Format.cpp \
|
|
|
|
Src/Util/NewConfig.cpp \
|
|
|
|
Src/Util/ByteSwap.cpp \
|
|
|
|
Src/Util/ConfigBuilders.cpp \
|
|
|
|
Src/GameLoader.cpp \
|
2018-01-22 21:01:35 +00:00
|
|
|
Src/Pkgs/tinyxml2.cpp \
|
|
|
|
Src/ROMSet.cpp \
|
|
|
|
$(PLATFORM_SRC_FILES)
|
|
|
|
|
|
|
|
ifeq ($(strip $(NET_BOARD)),1)
|
|
|
|
SRC_FILES += \
|
2020-07-03 09:08:03 +00:00
|
|
|
Src/Network/TCPReceive.cpp \
|
|
|
|
Src/Network/TCPSend.cpp \
|
2021-04-14 01:20:45 +00:00
|
|
|
Src/Network/NetBoard.cpp \
|
|
|
|
Src/Network/SimNetBoard.cpp
|
2018-01-22 21:01:35 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(ENABLE_DEBUGGER)),1)
|
|
|
|
SRC_FILES += \
|
|
|
|
Src/Debugger/Debugger.cpp \
|
|
|
|
Src/Debugger/ConsoleDebugger.cpp \
|
|
|
|
Src/Debugger/SupermodelDebugger.cpp \
|
|
|
|
Src/Debugger/CPUDebug.cpp \
|
|
|
|
Src/Debugger/AddressTable.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/Debugger/Breakpoint.cpp \
|
2018-01-22 21:01:35 +00:00
|
|
|
Src/Debugger/CodeAnalyser.cpp \
|
|
|
|
Src/Debugger/Exception.cpp \
|
|
|
|
Src/Debugger/Interrupt.cpp \
|
|
|
|
Src/Debugger/DebuggerIO.cpp \
|
|
|
|
Src/Debugger/Label.cpp \
|
|
|
|
Src/Debugger/Register.cpp \
|
|
|
|
Src/Debugger/Watch.cpp \
|
2018-05-06 18:52:23 +00:00
|
|
|
Src/Debugger/CPU/PPCDebug.cpp \
|
|
|
|
Src/Debugger/CPU/68KDebug.cpp \
|
|
|
|
Src/Debugger/CPU/Musashi68KDebug.cpp \
|
2018-01-22 21:01:35 +00:00
|
|
|
Src/Debugger/CPU/Z80Debug.cpp
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Sorted-path compile order
|
|
|
|
#
|
2018-05-06 18:52:23 +00:00
|
|
|
OBJ_FILES = $(foreach file,$(SRC_FILES),$(OBJ_DIR)/$(basename $(notdir $(file))).o)
|
2018-01-22 21:01:35 +00:00
|
|
|
|
|
|
|
#
|
2020-07-27 10:28:48 +00:00
|
|
|
# Deduce include directories from the source file list. The sort function
|
2018-05-06 18:52:23 +00:00
|
|
|
# removes duplicates and is used to construct a set.
|
|
|
|
#
|
|
|
|
INCLUDE_DIRS = $(sort $(foreach file,$(SRC_FILES),$(dir $(file))))
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Targets
|
|
|
|
###############################################################################
|
|
|
|
|
2020-07-27 10:28:48 +00:00
|
|
|
#
|
2018-05-06 18:52:23 +00:00
|
|
|
# Default target: build Supermodel binary. Must be specified *before* the auto-
|
2018-01-22 21:01:35 +00:00
|
|
|
# generated dependencies because otherwise, make gets confused for some reason
|
|
|
|
# and thinks the default target is just one of the object files.
|
|
|
|
#
|
|
|
|
all: $(BIN_DIR)/$(OUTFILE)
|
|
|
|
|
2020-12-24 10:20:26 +00:00
|
|
|
#
|
2022-06-23 19:34:02 +00:00
|
|
|
# Release targets: used only to create official builds stamped with the Git
|
2020-12-25 08:29:18 +00:00
|
|
|
# version number. Double-colon rules should force ordered execution.
|
|
|
|
# The automated build script relies on these -- don't modify their output!
|
|
|
|
#
|
|
|
|
.PHONY: set_version
|
|
|
|
.PHONY: print_message
|
|
|
|
.PHONY: version
|
|
|
|
release:: set_version
|
|
|
|
release:: print_message
|
|
|
|
release:: clean
|
|
|
|
release:: all
|
2020-12-24 10:20:26 +00:00
|
|
|
set_version:
|
2022-06-23 19:41:32 +00:00
|
|
|
$(eval VERSION = $(strip $(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq))))
|
2020-12-24 10:20:26 +00:00
|
|
|
$(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\")
|
2020-12-25 08:29:18 +00:00
|
|
|
print_message:
|
2020-12-24 10:20:26 +00:00
|
|
|
$(info Building Supermodel Version $(VERSION))
|
2020-12-25 08:29:18 +00:00
|
|
|
version: set_version
|
|
|
|
@echo $(VERSION)
|
2020-12-24 10:20:26 +00:00
|
|
|
|
2018-01-22 21:01:35 +00:00
|
|
|
$(BIN_DIR)/$(OUTFILE): $(BIN_DIR) $(OBJ_DIR) $(OBJ_FILES)
|
|
|
|
$(info --------------------------------------------------------------------------------)
|
|
|
|
$(info Linking Supermodel : $(BIN_DIR)/$(OUTFILE))
|
|
|
|
$(SILENT)$(LD) $(OBJ_FILES) $(LDFLAGS)
|
|
|
|
$(info --------------------------------------------------------------------------------)
|
|
|
|
|
|
|
|
$(BIN_DIR):
|
|
|
|
$(info Creating directory : $(BIN_DIR))
|
2020-07-27 10:28:48 +00:00
|
|
|
$(SILENT)mkdir $(BIN_DIR)
|
2018-01-22 21:01:35 +00:00
|
|
|
|
|
|
|
$(OBJ_DIR):
|
|
|
|
$(info Creating directory : $(OBJ_DIR))
|
|
|
|
$(SILENT)mkdir $(OBJ_DIR)
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2018-05-06 18:52:23 +00:00
|
|
|
# Rules
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
#
|
|
|
|
# Create list of auto-generated dependency files (which contain rules that make
|
|
|
|
# understands) and include them all.
|
|
|
|
#
|
|
|
|
AUTODEPS := $(patsubst %.o,%.d,$(OBJ_FILES))
|
|
|
|
-include $(AUTODEPS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# VPATH is the search path for files. This trick allows a single %.cpp rule to
|
|
|
|
# be matched against files in sub-directories of Src/.
|
|
|
|
#
|
|
|
|
VPATH = $(INCLUDE_DIRS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compilation rules that both auto-generate the dependency files and compile
|
|
|
|
# the source code. This technique is described in the reply by user "rr-" at:
|
|
|
|
# https://stackoverflow.com/questions/8025766/makefile-auto-dependency-generation
|
2018-01-22 21:01:35 +00:00
|
|
|
#
|
|
|
|
$(OBJ_DIR)/%.o: %.cpp
|
|
|
|
$(info Generating dependencies: $< -> $(OBJ_DIR)/$(*F).d)
|
|
|
|
$(SILENT)$(CXX) -MM -MP -MT $(OBJ_DIR)/$(*F).o -MT $(OBJ_DIR)/$(*F).d $(CXXFLAGS) $< > $(OBJ_DIR)/$(*F).d
|
|
|
|
$(info Compiling : $< -> $@)
|
|
|
|
$(SILENT)$(CXX) $(CXXFLAGS) $< -o $@
|
|
|
|
|
|
|
|
$(OBJ_DIR)/%.o: %.c
|
|
|
|
$(info Generating dependencies: $< -> $(OBJ_DIR)/$(*F).d)
|
|
|
|
$(SILENT)$(CC) -MM -MP -MT $(OBJ_DIR)/$(*F).o -MT $(OBJ_DIR)/$(*F).d $(CFLAGS) $< > $(OBJ_DIR)/$(*F).d
|
|
|
|
$(info Compiling : $< -> $@)
|
|
|
|
$(SILENT)$(CC) $(CFLAGS) $< -o $@
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Musashi 68K emulator
|
2018-05-06 18:52:23 +00:00
|
|
|
#
|
|
|
|
# All generated source files are emitted to the object directory. For MSVC,
|
|
|
|
# INLINE must be redefined as "static __inline", which is the syntax in C mode.
|
|
|
|
#
|
2020-07-27 10:28:48 +00:00
|
|
|
# The .exe suffix is absolutely required for native Windows non-MSYS builds!
|
2018-01-22 21:01:35 +00:00
|
|
|
#
|
|
|
|
|
2018-05-06 18:52:23 +00:00
|
|
|
MUSASHI_OUTFILE = $(OBJ_DIR)/m68kmake.exe # do not remove the .exe suffix!
|
2018-01-22 21:01:35 +00:00
|
|
|
MUSASHI_CFLAGS = -ISrc/CPU/68K/Musashi -I$(OBJ_DIR) -DINLINE="static inline" -Wno-unused-variable
|
2018-05-06 18:52:23 +00:00
|
|
|
MUSASHI_LDFLAGS = -o $(MUSASHI_OUTFILE) $(OBJ_DIR)/m68kmake.o -s
|
2018-01-22 21:01:35 +00:00
|
|
|
|
2018-05-06 18:52:23 +00:00
|
|
|
$(MUSASHI_OUTFILE): Src/CPU/68K/Musashi/m68kmake.c Src/CPU/68K/Musashi/m68k_in.c
|
2018-01-22 21:01:35 +00:00
|
|
|
$(info --------------------------------------------------------------------------------)
|
|
|
|
$(info Compiling : $< -> $(OBJ_DIR)/m68kmake.o)
|
|
|
|
$(SILENT)$(CC) $< $(CFLAGS) -o $(OBJ_DIR)/m68kmake.o
|
|
|
|
$(info Linking : $(MUSASHI_OUTFILE))
|
|
|
|
$(SILENT)$(LD) $(MUSASHI_LDFLAGS)
|
|
|
|
|
2018-05-06 18:52:23 +00:00
|
|
|
$(OBJ_DIR)/m68kops.h $(OBJ_DIR)/m68kops.c $(OBJ_DIR)/m68kopac.c $(OBJ_DIR)/m68kopdm.c $(OBJ_DIR)/m68kopnz.c: $(MUSASHI_OUTFILE) Src/CPU/68K/Musashi/m68k_in.c Src/CPU/68K/Musashi/m68k.h Src/CPU/68K/Musashi/m68kconf.h
|
2018-01-22 21:01:35 +00:00
|
|
|
$(info Generating 68K emulator: $@)
|
2018-05-06 18:52:23 +00:00
|
|
|
@$(MUSASHI_OUTFILE) $(OBJ_DIR) Src/CPU/68K/Musashi/m68k_in.c
|
2020-07-27 10:28:48 +00:00
|
|
|
|
2018-01-22 21:01:35 +00:00
|
|
|
$(OBJ_DIR)/m68kcpu.o: Src/CPU/68K/Musashi/m68kcpu.c $(OBJ_DIR)/m68kops.h Src/CPU/68K/Musashi/m68k.h Src/CPU/68K/Musashi/m68kconf.h
|
|
|
|
$(info Compiling : $< -> $@)
|
2018-05-06 18:52:23 +00:00
|
|
|
@$(CC) $< $(CFLAGS) $(MUSASHI_CFLAGS) -o $(OBJ_DIR)/m68kcpu.o
|
2018-01-22 21:01:35 +00:00
|
|
|
|
2020-07-27 10:28:48 +00:00
|
|
|
$(OBJ_DIR)/m68kops.o: $(OBJ_DIR)/m68kops.c $(OBJ_DIR)/m68kops.h Src/CPU/68K/Musashi/m68k.h Src/CPU/68K/Musashi/m68kconf.h $(MUSASHI_OUTFILE)
|
2018-01-22 21:01:35 +00:00
|
|
|
$(info Compiling : $< -> $@)
|
2018-05-06 18:52:23 +00:00
|
|
|
@$(CC) $< $(CFLAGS) $(MUSASHI_CFLAGS) -o $@
|
2018-01-22 21:01:35 +00:00
|
|
|
|
2020-07-27 10:28:48 +00:00
|
|
|
$(OBJ_DIR)/m68kopac.o: $(OBJ_DIR)/m68kopac.c $(OBJ_DIR)/m68kops.h Src/CPU/68K/Musashi/m68k.h Src/CPU/68K/Musashi/m68kconf.h $(MUSASHI_OUTFILE)
|
2018-01-22 21:01:35 +00:00
|
|
|
$(info Compiling : $< -> $@)
|
2018-05-06 18:52:23 +00:00
|
|
|
@$(CC) $< $(CFLAGS) $(MUSASHI_CFLAGS) -o $@
|
2018-01-22 21:01:35 +00:00
|
|
|
|
2020-07-27 10:28:48 +00:00
|
|
|
$(OBJ_DIR)/m68kopdm.o: $(OBJ_DIR)/m68kopdm.c $(OBJ_DIR)/m68kops.h Src/CPU/68K/Musashi/m68k.h Src/CPU/68K/Musashi/m68kconf.h $(MUSASHI_OUTFILE)
|
2018-01-22 21:01:35 +00:00
|
|
|
$(info Compiling : $< -> $@)
|
2018-05-06 18:52:23 +00:00
|
|
|
@$(CC) $< $(CFLAGS) $(MUSASHI_CFLAGS) -o $@
|
2018-01-22 21:01:35 +00:00
|
|
|
|
2020-07-27 10:28:48 +00:00
|
|
|
$(OBJ_DIR)/m68kopnz.o: $(OBJ_DIR)/m68kopnz.c $(OBJ_DIR)/m68kops.h Src/CPU/68K/Musashi/m68k.h Src/CPU/68K/Musashi/m68kconf.h $(MUSASHI_OUTFILE)
|
2018-01-22 21:01:35 +00:00
|
|
|
$(info Compiling : $< -> $@)
|
2018-05-06 18:52:23 +00:00
|
|
|
@$(CC) $< $(CFLAGS) $(MUSASHI_CFLAGS) -o $@
|