MAGICK_CXXOPT = `Magick++-config --cxxflags --cppflags` MAGICK_LDOPT = `Magick++-config --ldflags` MAGICK_LIBS = `Magick++-config --libs` CXX = g++ CXXOPT = -O3 -g -Wall -DEXPAND_WILDCARDS -I/usr/include/avifile $(MAGICK_CXXOPT) CC = gcc CCOPT = -O3 -Wall LIBDIRS = -L/usr/X11R6/lib $(MAGICK_LDOPT) -L/usr/lib/avifile0.6 LIBS = -laviplay $(MAGICK_LIBS) -lX11 -lXext -lXt -lSM -lICE LDOPTS = $(LIBDIRS) $(LIBS) image2avi : image2avi.o wildcards.o $(CXX) -o $@ $^ $(LDOPTS) wildcards: wildcards.c $(CC) $(CCOPT) -DTEST -o $@ $^ .cpp.o: $(CXX) $(CXXOPT) -c $*.cpp .c.o: $(CC) $(CCOPT) -c $*.c