2018-09-17 13:45:26 +02:00
|
|
|
all:
|
|
|
|
make -C ./src
|
|
|
|
make dddvb_test ddzap
|
|
|
|
|
|
|
|
install: all
|
|
|
|
cp -d src/libdddvb.so* /usr/local/lib
|
|
|
|
cp -d src/libdddvb.h /usr/local/include/
|
|
|
|
cp -d src/dddvb.h /usr/local/include/
|
|
|
|
cp -d ddzap /usr/local/bin
|
|
|
|
ldconfig
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAGS) -fPIC -c $<
|
|
|
|
|
|
|
|
dddvb_test: dddvb_test.o
|
2019-07-08 10:06:04 +02:00
|
|
|
$(CC) -o dddvb_test $< -L ./src -l dddvb -l pthread -l dvben50221 -l dvbapi -l ucsi
|
2018-09-17 13:45:26 +02:00
|
|
|
|
|
|
|
ddzap: ddzap.o
|
2019-07-08 10:06:04 +02:00
|
|
|
$(CC) -o ddzap $< -L ./src -l dddvb -l pthread -l dvben50221 -l dvbapi -l ucsi
|
2018-09-17 13:45:26 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C ./src clean
|
2019-07-08 10:06:04 +02:00
|
|
|
-rm -f *.o
|