summaryrefslogtreecommitdiff
path: root/lib/ftrsd/Makefile.sfrsd
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/ftrsd/Makefile.sfrsd
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/ftrsd/Makefile.sfrsd')
-rw-r--r--lib/ftrsd/Makefile.sfrsd30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/ftrsd/Makefile.sfrsd b/lib/ftrsd/Makefile.sfrsd
new file mode 100644
index 00000000..3f68f7ed
--- /dev/null
+++ b/lib/ftrsd/Makefile.sfrsd
@@ -0,0 +1,30 @@
+srcdir = .
+prefix = /usr/local
+exec_prefix=${prefix}
+CC=gcc
+
+CFLAGS=-I/usr/local/include -Wall -O2
+
+all: encode_rs_int.o decode_rs_int.o init_rs_int.o sfrsd2.o sfrsd.o sfrsd
+
+encode_rs_int.o: encode_rs.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+decode_rs_int.o: decode_rs.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+init_rs_int.o: init_rs.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+sfrsd2.o: sfrsd2.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+sfrsd.o: sfrsd.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+sfrsd: sfrsd.o encode_rs_int.o decode_rs_int.o init_rs_int.o sfrsd2.o
+ gcc -g -o $@ $^
+
+clean:
+ rm -f *.o *.a sfrsd
+