summaryrefslogtreecommitdiffstats
path: root/common/recipes-lib/sdr/files/Makefile
blob: 11fe3eedfe0e2dd43c4a212db0ba40896fe0481a (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2015-present Facebook. All Rights Reserved.
lib: libsdr.so

libsdr.so: sdr.c
	$(CC) $(CFLAGS) -fPIC -c -o sdr.o sdr.c
	$(CC) -lm -shared -o libsdr.so sdr.o -lc

.PHONY: clean

clean:
	rm -rf *.o libsdr.so
OpenPOWER on IntegriCloud