mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 04:38:37 -05:00
31 lines
606 B
Makefile
31 lines
606 B
Makefile
|
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
|
||
|
|