1#Variables 2CC=gcc 3LINKER=gcc 4FLAGS= 5 6 7#Build Targets 8EbmlWriter.o: EbmlWriter.c EbmlWriter.h 9 $(CC) $(FLAGS) -c EbmlWriter.c 10 11EbmlBufferWriter.o: EbmlBufferWriter.c EbmlBufferWriter.h 12 $(CC) $(FLAGS) -c EbmlBufferWriter.c 13 14MkvElement.o: MkvElement.c WebMElement.h 15 $(CC) $(FLAGS) -c MkvElement.c 16 17testlibmkv.o: testlibmkv.c 18 $(CC) $(FLAGS) -c testlibmkv.c 19 20testlibmkv: testlibmkv.o MkvElement.o EbmlBufferWriter.o EbmlWriter.o 21 $(LINKER) $(FLAGS) testlibmkv.o MkvElement.o EbmlBufferWriter.o EbmlWriter.o -o testlibmkv 22 23clean: 24 rm -rf *.o testlibmkv 25