2010-10-20 17:06:48 +02:00
|
|
|
#Variables
|
|
|
|
CC=gcc
|
|
|
|
LINKER=gcc
|
2014-02-03 20:42:45 +01:00
|
|
|
FLAGS=-g -Wall
|
2010-10-20 17:06:48 +02:00
|
|
|
|
2014-02-03 20:42:45 +01:00
|
|
|
all: testlibmkv
|
2010-10-20 17:06:48 +02:00
|
|
|
|
|
|
|
#Build Targets
|
|
|
|
EbmlWriter.o: EbmlWriter.c EbmlWriter.h
|
|
|
|
$(CC) $(FLAGS) -c EbmlWriter.c
|
|
|
|
|
|
|
|
EbmlBufferWriter.o: EbmlBufferWriter.c EbmlBufferWriter.h
|
|
|
|
$(CC) $(FLAGS) -c EbmlBufferWriter.c
|
2014-02-03 20:42:45 +01:00
|
|
|
|
|
|
|
WebMElement.o: WebMElement.c WebMElement.h
|
|
|
|
$(CC) $(FLAGS) -c WebMElement.c
|
|
|
|
|
2010-10-20 17:06:48 +02:00
|
|
|
testlibmkv.o: testlibmkv.c
|
|
|
|
$(CC) $(FLAGS) -c testlibmkv.c
|
2014-02-03 20:42:45 +01:00
|
|
|
|
|
|
|
testlibmkv: testlibmkv.o WebMElement.o EbmlBufferWriter.o EbmlWriter.o
|
|
|
|
$(LINKER) $(FLAGS) -o testlibmkv testlibmkv.o WebMElement.o EbmlBufferWriter.o EbmlWriter.o
|
2010-10-20 17:06:48 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *.o testlibmkv
|