Skip to content

Commit 9d010a6

Browse files
author
Jeffrey Clark
committed
make cleanup, remove wrapper script no longer needed, ignore more stuff
1 parent 4f3179c commit 9d010a6

7 files changed

+14
-39
lines changed

.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
*.o
2-
daphne.bin
2+
/daphne*
3+
/testvldp*
34
.deps
45
*.d
56
*.so
67
*.a
78
*.res
8-
roms/*.zip
9+
roms
910
src/Makefile.vars

daphne

-25
This file was deleted.

src/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ endif
3737
# send these to all the sub-Makefiles
3838

3939
# name of the executable and dynamic libraries
40-
EXE_BASE = daphne.bin
40+
EXE_BASE = daphne
4141
ifeq ($(OS),Windows_NT)
4242
EXE_EXT = .exe
4343
endif
@@ -97,7 +97,7 @@ clean: clean_deps
9797
$(SILENT)rm -f ${LIB_SINGE}
9898

9999
testvldp: testvldp.c
100-
${CC} ${CFLAGS} -DSHOW_FRAMES -DUSE_OVERLAY testvldp.c ${VLDP_OBJS} ${LIBS} -o ../testvldp
100+
${CC} ${CFLAGS} -DSHOW_FRAMES -DUSE_OVERLAY testvldp.c ${VLDP_OBJS} ${LIBS} -o ../testvldp$(EXE_EXT)
101101

102102
%.d : %.cpp
103103
$(GEN_MSG)

src/Makefile.vars.linux_x64

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ export CXX=g++
55
export CC=gcc
66

77
# debugging version
8-
DFLAGS = -ggdb -DDEBUG -DVLDP_DEBUG # -DCPU_DEBUG
8+
#DFLAGS = -ggdb -DDEBUG -DVLDP_DEBUG # -DCPU_DEBUG
99

1010
# optimized version
1111
# NOTE : gcc 3.x has a bug that causes compilation to choke on m80.cpp
1212
# If you want to -DGCC_X86_ASM for extra speed, you have to use g++ 3.0 or earlier
13-
#DFLAGS = -O3 -fexpensive-optimizations -funroll-loops -fPIC
13+
DFLAGS = -O3 -fexpensive-optimizations -funroll-loops -fomit-frame-pointer
1414

1515
# this is to be exported for MMX assembly optimization
1616
#export USE_MMX = 1

src/Makefile.vars.linux_x86

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ DFLAGS = -O3 -march=i686 -fomit-frame-pointer \
1818
export USE_MMX = 1
1919

2020
# uncomment these to link VLDP statically instead of dynamically
21-
#export STATIC_SINGE = 1
21+
export BUILD_SINGE = 1
2222

2323
# platform-specific compile flags
24-
# Add -DBUILD_SINGE to enable SINGE
25-
PFLAGS = ${DFLAGS} `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 \
26-
-DUSE_MMX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_OPENGL -DBUILD_SINGE
24+
PFLAGS = ${DFLAGS} $(shell sdl-config --cflags) -DUNIX -DLINUX -DNATIVE_CPU_X86 \
25+
-DUSE_MMX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_OPENGL
2726

2827

2928
# platform-specific lib flags
30-
LIBS = `sdl-config --libs` -ldl -lz -logg -lvorbis -lvorbisfile -lGLEW
29+
LIBS = $(shell sdl-config --libs) -ldl -lz -logg -lvorbis -lvorbisfile -lGLEW

src/Makefile.vars.mingw_x64

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export CROSS=1
1111
# optimized version
1212
# NOTE : gcc 3.x has a bug that causes compilation to choke on m80.cpp
1313
# If you want to -DGCC_X86_ASM for extra speed, you have to use g++ 3.0 or earlier
14-
DFLAGS = -O3 -fexpensive-optimizations -funroll-loops
14+
DFLAGS = -O3 -fexpensive-optimizations -funroll-loops -fomit-frame-pointer
1515

1616
# this is to be exported for MMX assembly optimization
1717
#export USE_MMX = 1
1818

1919
# uncomment to include singe support
20-
#export BUILD_SINGE = 1
20+
export BUILD_SINGE = 1
2121

2222
# platform-specific compile flags
2323
PFLAGS = ${DFLAGS} $(shell $(TOOLCHAIN)-sdl-config --cflags) -DWIN32 -DNATIVE_CPU_X86 \

src/testvldp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "vldp3/vldp.h" // VLDP stuff
1+
#include "vldp/vldp.h" // VLDP stuff
22
#include "io/dll.h" // for DLL stuff
33
#include "video/yuv2rgb.h" // to bypass SDL's yuv overlay and do it ourselves ...
44

0 commit comments

Comments
 (0)