a279467359
PPMd is a file compressor written mainly for embedding in user programs, and it is not intended for direct use. This program is an effort to make speed and performance improvements on the abstract PPM model [1-6] without tuning it to particular data types.
30 lines
996 B
Text
30 lines
996 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $
|
|
|
|
--- makefile.gmk.orig 2004-03-08 15:08:54.000000000 -0800
|
|
+++ makefile.gmk
|
|
@@ -1,18 +1,17 @@
|
|
## Take a look at PPMdType.h for additional compiler & environment options
|
|
OBJS = PPMd.o Model.o
|
|
|
|
-CXX = Gcc
|
|
-LINK = Gcc
|
|
+LINK = $(CXX)
|
|
CODE_FLAGS = -fno-exceptions -fno-rtti -pedantic -Wall \
|
|
-Wno-unknown-pragmas -Wno-sign-compare -Wno-conversion
|
|
-OPT_FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -fstrict-aliasing
|
|
-DEBUG_FLAGS = -g0
|
|
+OPT_FLAGS =
|
|
+DEBUG_FLAGS = -g
|
|
LD_FLAGS = -s
|
|
|
|
-PPMd.exe: $(OBJS)
|
|
- $(LINK) -o PPMd.exe $(OBJS) -lstdcxx -Xlinker $(LD_FLAGS)
|
|
+ppmd: $(OBJS)
|
|
+ $(LINK) $(LD_FLAGS) -o ppmd $(OBJS)
|
|
|
|
Model.o: Model.cpp PPMdType.h PPMd.h SubAlloc.hpp Coder.hpp
|
|
$(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c Model.cpp
|
|
PPMd.o: PPMd.cpp PPMdType.h PPMd.h
|
|
- $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c PPMd.cpp
|
|
\ No newline at end of file
|
|
+ $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c PPMd.cpp
|