# Change to match your system PAL|SECAM|NTSC
SYSTEM = NTSC

CC = g++

all:  writer

writer: writer.o c_ivccsetup.o Makefile
	$(CC)  writer.o c_ivccsetup.o -o writer

writer.o: writer.c
	$(CC) -D$(SYSTEM) -g -c writer.c

c_ivccsetup.o: c_ivccsetup.c
	$(CC) -D$(SYSTEM) -g -c c_ivccsetup.c

clean:
	/bin/rm -f *.o *~
