Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 96142 | Differences between
and this patch

Collapse All | Expand All

(-)Osmose-0-8-5b-source.orig/Makefile (-4 / +4 lines)
Lines 42-48 Link Here
42
42
43
# Compiler/Linker Flags
43
# Compiler/Linker Flags
44
# add -O3 to CFLAGS for speedup -pg on LFLAGS and CFLAGS for gprof
44
# add -O3 to CFLAGS for speedup -pg on LFLAGS and CFLAGS for gprof
45
CFLAGS =  -Wall -D__USE_UNIX98 -O3
45
CFLAGS +=  -Wall -D__USE_UNIX98
46
LFLAGS =  -lSDL -lGL -lz
46
LFLAGS =  -lSDL -lGL -lz
47
AFLAGS =  -f elf
47
AFLAGS =  -f elf
48
CC  = g++
48
CC  = g++
Lines 53-62 Link Here
53
.cpp.o:
53
.cpp.o:
54
	$(CC) $(CFLAGS) -c $*.cpp -o $*.o
54
	$(CC) $(CFLAGS) -c $*.cpp -o $*.o
55
55
56
all:  libs disasm osmose stripexe
56
all:  libs disasm osmose
57
57
58
osmose: $(z80_lib) $(OSM_OBJS) $(OPT_OBJS)
58
osmose: $(z80_lib) $(OSM_OBJS) $(OPT_OBJS)
59
	$(CC)  $(CFLAGS) $(OSM_OBJS) $(Z80_LIB) $(OPT_OBJS) $(UNZIP_LIB) $(Z_LIB) -o $(OSM_EXE) $(LFLAGS)
59
	+$(CC)  $(CFLAGS) $(OSM_OBJS) $(Z80_LIB) $(OPT_OBJS) $(UNZIP_LIB) $(Z_LIB) -o $(OSM_EXE) $(LFLAGS)
60
60
61
disasm: $(DISASM_OBJS)
61
disasm: $(DISASM_OBJS)
62
62
Lines 75-81 Link Here
75
	rm -f *.o core $(OSM_EXE)
75
	rm -f *.o core $(OSM_EXE)
76
76
77
libs:
77
libs:
78
	cd $(UNZIP_DIR) && make unzip.a
78
	+cd $(UNZIP_DIR) && make unzip.a
79
79
80
80
81
81

Return to bug 96142