CFLAGS = -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
CC = gcc
#CC = /usr/local/bin/gcc

.c.o:
	$(CC) $(CFLAGS) -c $<

OBJECT = dvdimagecmp.o


#LIBRARY = -lm

# -ltermcap

a.out : $(OBJECT)
	$(CC) -o dvdimagecmp  $(OBJECT)
		
# DEPENDENCIES

dvdimagecmp.o : dvdimagecmp.c


install:
	cp dvdimagecmp /usr/local/bin/





syntax highlighted by Code2HTML, v. 0.9.1