1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
dddvb/lib/Makefile
2020-10-10 17:32:56 +02:00

24 lines
510 B
Makefile

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
$(CC) -o dddvb_test $< -L ./src -l dddvb -l pthread -l dvben50221 -l dvbapi -l ucsi
ddzap: ddzap.o
$(CC) -o ddzap $< -L ./src -l dddvb -l pthread -l dvben50221 -l dvbapi -l ucsi -lm
clean:
make -C ./src clean
-rm -f *.o