-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
61 lines (52 loc) · 1.63 KB
/
makefile
File metadata and controls
61 lines (52 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Makefile for mpeg2decode / mpeg2encode
# Copyright (C) 1994, MPEG Software Simulation Group. All Rights Reserved.
#
# Disclaimer of Warranty
#
# These software programs are available to the user without any license fee or
# royalty on an "as is" basis. The MPEG Software Simulation Group disclaims
# any and all warranties, whether express, implied, or statuary, including any
# implied warranties or merchantability or of fitness for a particular
# purpose. In no event shall the copyright-holder be liable for any
# incidental, punitive, or consequential damages of any kind whatsoever
# arising from the use of these programs.
#
# This disclaimer of warranty extends to the user of these programs and user's
# customers, employees, agents, transferees, successors, and assigns.
#
# The MPEG Software Simulation Group does not represent or warrant that the
# programs furnished hereunder are free of infringement of any third-party
# patents.
#
# Commercial implementations of MPEG-1 and MPEG-2 video, including shareware,
# are subject to royalty fees to patent holders. Many of these patents are
# general enough such that they are unavoidable regardless of implementation
# design.
#
#
#
# GNU gcc
#
CC = gcc
CFLAGS = -O0 -g -D TEST
#
# SPARCompiler
#
#CC = acc
#CFLAGS = -fast
#
# SUN cc
#
#CC = cc
#CFLAGS = -O3 -DNON_ANSI_COMPILER
all:
cd src/mpeg2dec; make 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
cd src/mpeg2enc; make 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
pc:
cd src/mpeg2dec; make pc 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
cd src/mpeg2enc; make pc 'CC=$(CC)' 'CFLAGS=$(CFLAGS)'
clean:
cd src/mpeg2dec; make clean
cd src/mpeg2enc; make clean
test:
cd verify; ./verify