summaryrefslogtreecommitdiffstats
path: root/common/recipes-lib/sdr/files/Makefile
blob: 607f9145107f4012e878f6f32ca3cb48b37214db (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) -lpal -lm -shared -o libsdr.so sdr.o -lc

.PHONY: clean

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