File tree 7 files changed +14
-39
lines changed
7 files changed +14
-39
lines changed Original file line number Diff line number Diff line change 1
1
* .o
2
- daphne.bin
2
+ /daphne *
3
+ /testvldp *
3
4
.deps
4
5
* .d
5
6
* .so
6
7
* .a
7
8
* .res
8
- roms / * .zip
9
+ roms
9
10
src /Makefile.vars
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 37
37
# send these to all the sub-Makefiles
38
38
39
39
# name of the executable and dynamic libraries
40
- EXE_BASE = daphne.bin
40
+ EXE_BASE = daphne
41
41
ifeq ($(OS ) ,Windows_NT)
42
42
EXE_EXT = .exe
43
43
endif
@@ -97,7 +97,7 @@ clean: clean_deps
97
97
$(SILENT ) rm -f ${LIB_SINGE}
98
98
99
99
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 )
101
101
102
102
% .d : % .cpp
103
103
$(GEN_MSG )
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ export CXX=g++
5
5
export CC=gcc
6
6
7
7
# debugging version
8
- DFLAGS = -ggdb -DDEBUG -DVLDP_DEBUG # -DCPU_DEBUG
8
+ # DFLAGS = -ggdb -DDEBUG -DVLDP_DEBUG # -DCPU_DEBUG
9
9
10
10
# optimized version
11
11
# NOTE : gcc 3.x has a bug that causes compilation to choke on m80.cpp
12
12
# 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
14
14
15
15
# this is to be exported for MMX assembly optimization
16
16
#export USE_MMX = 1
Original file line number Diff line number Diff line change @@ -18,13 +18,12 @@ DFLAGS = -O3 -march=i686 -fomit-frame-pointer \
18
18
export USE_MMX = 1
19
19
20
20
# uncomment these to link VLDP statically instead of dynamically
21
- # export STATIC_SINGE = 1
21
+ export BUILD_SINGE = 1
22
22
23
23
# 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
27
26
28
27
29
28
# 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
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ export CROSS=1
11
11
# optimized version
12
12
# NOTE : gcc 3.x has a bug that causes compilation to choke on m80.cpp
13
13
# 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
15
15
16
16
# this is to be exported for MMX assembly optimization
17
17
#export USE_MMX = 1
18
18
19
19
# uncomment to include singe support
20
- # export BUILD_SINGE = 1
20
+ export BUILD_SINGE = 1
21
21
22
22
# platform-specific compile flags
23
23
PFLAGS = ${DFLAGS} $(shell $(TOOLCHAIN)-sdl-config --cflags) -DWIN32 -DNATIVE_CPU_X86 \
Original file line number Diff line number Diff line change 1
- #include "vldp3 /vldp.h" // VLDP stuff
1
+ #include "vldp /vldp.h" // VLDP stuff
2
2
#include "io/dll.h" // for DLL stuff
3
3
#include "video/yuv2rgb.h" // to bypass SDL's yuv overlay and do it ourselves ...
4
4
You can’t perform that action at this time.
0 commit comments