# Makefile for mpeg2encode

# Copyright (C) 1996, 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.
#
#

# select one of the following CC CFLAGS settings

include ./global_config
CC = gcc
CFLAGS += -g -DHAVE_MMX

# END OF USER CONFIGURATION

OBJ_DEC = designer.o display.o region.o control.o

all: lvedes

clean:
	rm -f *.o *% core lvedes *~

lvedes: $(OBJ_DEC)
	$(CC) $(CFLAGS) -o lvedes $(OBJ_DEC) -lSDL -lpthread -lpng -lz -lm -lglib

designer.o: lvedes.h region.h display.h control.h 
display.o: lvedes.h display.h
region.o: lvedes.h region.h
control.o: lvedes.h control.h region.h