mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
24 lines
437 B
Makefile
24 lines
437 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
|
|
|
|
ddzap: ddzap.o
|
|
$(CC) -o ddzap $< -L ./src -l dddvb -l pthread
|
|
|
|
clean:
|
|
make -C ./src clean
|
|
rm *.o
|