Fix build errors under Ubuntu (gcc being pedantic)

pull/2/head
Mark Jessop 2019-07-31 21:21:59 +09:30
rodzic f7ce82565c
commit 724311aba0
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -9,11 +9,11 @@ all: fsk_demod drs232_ldpc
@echo "Binaries copied to ../rx/"
fsk_demod: fsk_demod.o fsk.o kiss_fft.o
@gcc -lm -o fsk_demod fsk_demod.o fsk.o kiss_fft.o
@gcc -o fsk_demod fsk_demod.o fsk.o kiss_fft.o -lm
@echo "Built fsk_demod."
drs232_ldpc: drs232_ldpc.o mpdecode_core.o phi0.o
@gcc -lm -o drs232_ldpc drs232_ldpc.o mpdecode_core.o phi0.o
@gcc -o drs232_ldpc drs232_ldpc.o mpdecode_core.o phi0.o -lm
@echo "Built drs232_ldpc"
.c.o: $(CC) $(CFLAGS) -c $< -o $@