-
cp Makefile.proto Makefile
chmod u+w Makefile
-
Adapt the
Makefile
for platform/compiler specifics, e.g.
DEST = /tmp/mpeg_play-2.4
# HP-UX 10.20, native cc
CFLAGS = -O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z ...
INCLUDEDIR = -I/usr/include -I/usr/include/X11 -I/usr/include/X11R6
# AIX, native cc
CFLAGS = -O2 -D_LARGE_FILES -D_THREAD_SAFE -DSH_MEM $(INCLUDEDIR)
-
make clean
make
# make install doesn't work properly, thus manually:
mkdir -p /tmp/mpeg_play-2.4/bin
mkdir -p /tmp/mpeg_play-2.4/man/man1
cp -p mpeg_play /tmp/mpeg_play-2.4/bin
cp -p mpeg_play.1 /tmp/mpeg_play-2.4/man/man1