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