parent
93e529cc89
commit
9d35f6cf23
|
@ -1,198 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="Glide64" />
|
||||
<Option makefile="Makefile.gcc" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Option virtualFolders="Config/;Texture/;Ucode/;Resources/;" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="../Plugin/Glide64" prefix_auto="1" extension_auto="1" />
|
||||
<Option working_dir="../Plugin" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option host_application="mupen64plus" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
<Add option="-DBUILD_DLL" />
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="$make -f $makefile " />
|
||||
<CompileFile command="" />
|
||||
<Clean command="" />
|
||||
<DistClean command="" />
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="../Plugin/Glide64" prefix_auto="1" extension_auto="1" />
|
||||
<Option working_dir="../Plugin" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-DBUILD_DLL" />
|
||||
<Add directory="../inc" />
|
||||
<Add directory="$(WXDIR)/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add directory="../" />
|
||||
<Add directory="../lib" />
|
||||
<Add directory="$(WXDIR)/lib/gcc_lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="-fexceptions" />
|
||||
<Add option="-fPIC" />
|
||||
<Add option="-D__unix__" />
|
||||
<Add directory="../inc" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="`wx-config --libs`" />
|
||||
<Add option="-lglide3x" />
|
||||
<Add option="../3dmathSIMD.o" />
|
||||
<Add option="../FixedPoint.o" />
|
||||
<Add option="../Texture.o" />
|
||||
<Add directory="../lib" />
|
||||
</Linker>
|
||||
<Unit filename="../3dmath.cpp" />
|
||||
<Unit filename="../3dmath.h" />
|
||||
<Unit filename="../CRC.cpp">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../CRC.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../Combine.cpp" />
|
||||
<Unit filename="../Combine.h" />
|
||||
<Unit filename="../Config.cpp">
|
||||
<Option virtualFolder="Config/" />
|
||||
</Unit>
|
||||
<Unit filename="../Config.h">
|
||||
<Option virtualFolder="Config/" />
|
||||
</Unit>
|
||||
<Unit filename="../Debugger.cpp" />
|
||||
<Unit filename="../Debugger.h" />
|
||||
<Unit filename="../DepthBufferRender.cpp" />
|
||||
<Unit filename="../DepthBufferRender.h" />
|
||||
<Unit filename="../Ext_TxFilter.cpp" />
|
||||
<Unit filename="../Ext_TxFilter.h" />
|
||||
<Unit filename="../FBtoScreen.cpp" />
|
||||
<Unit filename="../FBtoScreen.h" />
|
||||
<Unit filename="../Gfx #1.3.h" />
|
||||
<Unit filename="../GlideExtensions.h" />
|
||||
<Unit filename="../Keys.cpp" />
|
||||
<Unit filename="../Keys.h" />
|
||||
<Unit filename="../Main.cpp" />
|
||||
<Unit filename="../MiClWr16b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../MiClWr32b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../MiClWr8b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexBuffer.cpp" />
|
||||
<Unit filename="../TexBuffer.h" />
|
||||
<Unit filename="../TexCache.cpp">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexCache.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexConv.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexLoad.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexLoad16b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexLoad32b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexLoad4b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexLoad8b.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexMod.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../TexModCI.h">
|
||||
<Option virtualFolder="Texture/" />
|
||||
</Unit>
|
||||
<Unit filename="../Util.cpp" />
|
||||
<Unit filename="../Util.h" />
|
||||
<Unit filename="../australia.xpm" />
|
||||
<Unit filename="../brazil.xpm" />
|
||||
<Unit filename="../c32.mac" />
|
||||
<Unit filename="../cursor.h" />
|
||||
<Unit filename="../font.h" />
|
||||
<Unit filename="../france.xpm" />
|
||||
<Unit filename="../japan.xpm" />
|
||||
<Unit filename="../logo.xpm" />
|
||||
<Unit filename="../main.h" />
|
||||
<Unit filename="../rdp.cpp" />
|
||||
<Unit filename="../rdp.h" />
|
||||
<Unit filename="../russia.xpm" />
|
||||
<Unit filename="../turbo3D.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode00.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode01.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode02.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode03.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode04.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode05.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode06.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode07.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode08.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode09.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucode09rdp.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../ucodeFB.h">
|
||||
<Option virtualFolder="Ucode/" />
|
||||
</Unit>
|
||||
<Unit filename="../usa.xpm" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
<lib_finder disable_auto="1" />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
|
@ -1,189 +0,0 @@
|
|||
# This MUST be processed by GNU make
|
||||
#
|
||||
# Glide64 Makefile
|
||||
# Version: 1.0
|
||||
#
|
||||
# this is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# this 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 GNU Make; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
|
||||
#
|
||||
# Available options:
|
||||
#
|
||||
# Environment variables:
|
||||
# DEBUG=1 enable debugging checks and messages
|
||||
# default = no
|
||||
#
|
||||
# Environment variables:
|
||||
#
|
||||
# Targets:
|
||||
# all: build dynamic module
|
||||
# clean: remove object files
|
||||
# realclean: remove all generated files
|
||||
#
|
||||
#
|
||||
# Requirements:
|
||||
#
|
||||
# Compiler:
|
||||
# GCC 4.2
|
||||
#
|
||||
# Libraries:
|
||||
# glide3x - build Glitch64 first, copy the result dll to 'lib' folder
|
||||
# wx-widgets 2.8 (http://www.wxwidgets.org)
|
||||
#
|
||||
|
||||
#
|
||||
# GCC does not have SEH (structured exception handling)
|
||||
#
|
||||
|
||||
.PHONY: all clean realclean ostype
|
||||
|
||||
OS=$(shell uname)
|
||||
ifeq ($(findstring MINGW,$(OS)),MINGW)
|
||||
OS := WINDOWS
|
||||
endif
|
||||
ifeq ($(findstring CYGWIN,$(OS)),CYGWIN)
|
||||
OS=WINDOWS
|
||||
endif
|
||||
ifeq ($(findstring WINNT,$(OS)),WINNT)
|
||||
OS=WINDOWS
|
||||
endif
|
||||
ifeq ($(OS),Darwin)
|
||||
OS=MACOSX
|
||||
endif
|
||||
|
||||
ifeq ($(OS), WINDOWS)
|
||||
DLLNAME = Glide64.dll
|
||||
else
|
||||
DLLNAME = Glide64.so
|
||||
endif
|
||||
|
||||
EXT_INC = ./inc
|
||||
EXT_LIB = ./lib
|
||||
|
||||
CC = g++
|
||||
STRIP = strip
|
||||
|
||||
CFLAGS = -DBUILDING_DLL=1 -fexceptions
|
||||
LDLIBS = -L"." -L"lib" `wx-config --libs`
|
||||
|
||||
ifeq ($(OS), Linux)
|
||||
CC += -V 4.2
|
||||
LDFLAGS = -shared -lstdc++
|
||||
CFLAGS += -D__unix__
|
||||
LDLIBS += $(EXT_LIB)/glide3x.so
|
||||
endif
|
||||
ifeq ($(OS), MACOSX)
|
||||
LDFLAGS = -dynamiclib -lstdc++
|
||||
CFLAGS += -D__unix__ -Dmacintosh
|
||||
LDLIBS += $(EXT_LIB)/glide3x.dylib
|
||||
endif
|
||||
ifeq ($(OS), WINDOWS)
|
||||
LDFLAGS = -shared -mwindows
|
||||
CFLAGS += -D__WIN32__ -DWIN32 -D_WIN32
|
||||
LDLIBS += $(EXT_LIB)/glide3x.lib
|
||||
endif
|
||||
|
||||
CFLAGS += -ffast-math -funroll-loops
|
||||
#CFLAGS += -fexpensive-optimizations -march=k6
|
||||
CFLAGS += -I. -I$(EXT_INC) `wx-config --cppflags`
|
||||
|
||||
ifdef DEBUG
|
||||
CFLAGS += -g -DDEBUG
|
||||
endif
|
||||
|
||||
LD = g++
|
||||
|
||||
AS = nasm
|
||||
ifeq ($(OS), Linux)
|
||||
ASFLAGS = -O6 -felf -D__linux__
|
||||
ASM_OBJ = \
|
||||
3dmathSIMD.o \
|
||||
FixedPoint.o \
|
||||
Texture.o
|
||||
else
|
||||
ifeq ($(OS), MACOSX)
|
||||
ASFLAGS = -O6 -fmacho --prefix _
|
||||
ASM_OBJ = \
|
||||
3dmathSIMD.o \
|
||||
FixedPoint.o \
|
||||
Texture.o
|
||||
else
|
||||
ifeq ($(OS), WINDOWS)
|
||||
ASFLAGS = -O6 -fwin32 -D__WIN32__ --prefix _
|
||||
ASM_OBJ = \
|
||||
3dmathSIMD.obj \
|
||||
FixedPoint.obj \
|
||||
Texture.obj
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
RM = rm
|
||||
|
||||
SOURCES = \
|
||||
3dmath.cpp \
|
||||
Combine.cpp \
|
||||
Config.cpp \
|
||||
CRC.cpp \
|
||||
Debugger.cpp \
|
||||
DepthBufferRender.cpp \
|
||||
Ext_TxFilter.cpp \
|
||||
FBtoScreen.cpp \
|
||||
Main.cpp \
|
||||
Keys.cpp \
|
||||
rdp.cpp \
|
||||
TexBuffer.cpp \
|
||||
TexCache.cpp \
|
||||
Util.cpp
|
||||
|
||||
OBJECTS = $(SOURCES:.cpp=.o)
|
||||
|
||||
.cpp.o:
|
||||
$(CC) -o $@ $(CFLAGS) -c $<
|
||||
|
||||
all: $(DLLNAME)
|
||||
|
||||
$(DLLNAME): $(OBJECTS) $(ASM_OBJ)
|
||||
$(LD) -o $@ $(LDFLAGS) $^ $(LDLIBS)
|
||||
ifeq ($(OS), Linux)
|
||||
$(STRIP) $@
|
||||
endif
|
||||
|
||||
ifneq ($(OS), WINDOWS)
|
||||
3dmathSIMD.o: 3dmathSIMD.asm
|
||||
$(AS) -o $@ $(ASFLAGS) $<
|
||||
FixedPoint.o: FixedPoint.asm
|
||||
$(AS) -o $@ $(ASFLAGS) $<
|
||||
Texture.o: Texture.asm
|
||||
$(AS) -o $@ $(ASFLAGS) $<
|
||||
else
|
||||
3dmathSIMD.obj: 3dmathSIMD.asm
|
||||
$(AS) -o $@ $(ASFLAGS) $<
|
||||
FixedPoint.obj: FixedPoint.asm
|
||||
$(AS) -o $@ $(ASFLAGS) $<
|
||||
Texture.obj: Texture.asm
|
||||
$(AS) -o $@ $(ASFLAGS) $<
|
||||
endif
|
||||
|
||||
clean:
|
||||
-$(RM) *.o
|
||||
|
||||
realclean: clean
|
||||
-$(RM) $(DLLNAME)
|
||||
|
||||
ostype:
|
||||
echo $(OS)
|
||||
|
||||
-include depend
|
|
@ -1,3 +0,0 @@
|
|||
nasm.exe -o lib\Texture.obj -O6 -fwin32 -D__WIN32__ --prefix _ Texture.asm
|
||||
nasm.exe -o lib\FixedPoint.obj -O6 -fwin32 -D__WIN32__ --prefix _ FixedPoint.asm
|
||||
nasm.exe -o lib\3dmathSIMD.obj -O6 -fwin32 -D__WIN32__ --prefix _ 3dmathSIMD.asm
|
|
@ -1,75 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="Glitch64" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin\Glitch64" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj\Debug\" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createDefFile="1" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
<Add option="-DBUILD_DLL" />
|
||||
<Add directory="..\inc" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="user32" />
|
||||
<Add directory="..\lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin\Glitch64" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj\Release\" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createDefFile="1" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-DBUILD_DLL" />
|
||||
<Add option="-DGLIDE3X_EXPORTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add library="user32" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-DWIN32" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-D_USRDLL" />
|
||||
<Add option="-DGLIDEXPORT" />
|
||||
<Add directory="..\inc" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-ldxguid" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add directory="..\lib" />
|
||||
</Linker>
|
||||
<Unit filename="..\3dfx-mangling.h" />
|
||||
<Unit filename="..\combiner.cpp" />
|
||||
<Unit filename="..\geometry.cpp" />
|
||||
<Unit filename="..\main.cpp" />
|
||||
<Unit filename="..\main.h" />
|
||||
<Unit filename="..\textures.cpp" />
|
||||
<Unit filename="..\vram.cpp" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
|
@ -1,134 +0,0 @@
|
|||
# This MUST be processed by GNU make
|
||||
#
|
||||
# Glitch64 Makefile
|
||||
# Version: 1.0
|
||||
#
|
||||
# this is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# this 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 GNU Make; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
|
||||
#
|
||||
# Available options:
|
||||
#
|
||||
# Environment variables:
|
||||
# DEBUG=1 enable debugging checks and messages
|
||||
# default = no
|
||||
#
|
||||
# Environment variables:
|
||||
#
|
||||
# Targets:
|
||||
# all: build dynamic module
|
||||
# clean: remove object files
|
||||
# realclean: remove all generated files
|
||||
#
|
||||
#
|
||||
# Requirements:
|
||||
#
|
||||
# Compiler:
|
||||
# GCC 4.2
|
||||
#
|
||||
# Libraries:
|
||||
# SDL 1.2 (http://www.libsdl.org)
|
||||
#
|
||||
|
||||
.PHONY: all clean realclean
|
||||
|
||||
OS=$(shell uname)
|
||||
ifeq ($(findstring MINGW,$(OS)),MINGW)
|
||||
OS := WINDOWS
|
||||
endif
|
||||
ifeq ($(findstring CYGWIN,$(OS)),CYGWIN)
|
||||
OS=WINDOWS
|
||||
endif
|
||||
ifeq ($(findstring WINNT,$(OS)),WINNT)
|
||||
OS=WINDOWS
|
||||
endif
|
||||
ifeq ($(OS),Darwin)
|
||||
OS=MACOSX
|
||||
endif
|
||||
|
||||
ifeq ($(OS), WINDOWS)
|
||||
DLLNAME = glide3x.dll
|
||||
else
|
||||
ifeq ($(OS), MACOSX)
|
||||
DLLNAME = glide3x.dylib
|
||||
else
|
||||
DLLNAME = glide3x.so
|
||||
endif
|
||||
endif
|
||||
|
||||
EXT_INC = ./inc
|
||||
EXT_LIB = ./lib
|
||||
|
||||
CC = g++
|
||||
STRIP = strip
|
||||
CFLAGS = -DBUILDING_DLL=1 -fexceptions
|
||||
|
||||
ifeq ($(OS), Linux)
|
||||
LDFLAGS = -shared -lstdc++
|
||||
CFLAGS += -D__unix__
|
||||
endif
|
||||
ifeq ($(OS), MACOSX)
|
||||
LDFLAGS = -dynamiclib -lstdc++
|
||||
CFLAGS += -D__unix__ -Dmacintosh
|
||||
endif
|
||||
ifeq ($(OS), WINDOWS)
|
||||
LDFLAGS = -shared -mwindows
|
||||
CFLAGS += -D__WIN32__ -DWIN32 -D_WIN32
|
||||
endif
|
||||
|
||||
CFLAGS += -ffast-math -funroll-loops
|
||||
CFLAGS += -I. -I$(EXT_INC) `sdl-config --cflags`
|
||||
|
||||
ifdef DEBUG
|
||||
CFLAGS += -g -DDEBUG
|
||||
endif
|
||||
|
||||
LD = g++
|
||||
LDFLAGS2 = --out-implib=libglide3x.a
|
||||
|
||||
LDLIBS = -L"." -L"lib" `sdl-config --libs`
|
||||
ifeq ($(OS), MACOSX)
|
||||
LDLIBS += -framework OpenGL -framework GLUT
|
||||
endif
|
||||
|
||||
RM = rm
|
||||
|
||||
SOURCES = \
|
||||
combiner.cpp \
|
||||
geometry.cpp \
|
||||
main.cpp \
|
||||
textures.cpp \
|
||||
vram.cpp
|
||||
|
||||
OBJECTS = $(SOURCES:.cpp=.o)
|
||||
|
||||
.cpp.o:
|
||||
$(CC) -o $@ $(CFLAGS) -c $<
|
||||
|
||||
all: $(DLLNAME)
|
||||
|
||||
$(DLLNAME): $(OBJECTS)
|
||||
$(LD) -o $@ $(LDFLAGS) $^ $(LDLIBS) --out-implib=libglide3x.a
|
||||
ifeq ($(OS), Linux)
|
||||
$(STRIP) $@
|
||||
endif
|
||||
|
||||
clean:
|
||||
-$(RM) *.o
|
||||
|
||||
realclean: clean
|
||||
-$(RM) $(DLLNAME)
|
||||
|
||||
-include depend
|
Loading…
Reference in New Issue