dump1090/Makefile
2013-01-05 20:00:42 +01:00

16 lines
304 B
Makefile

CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
LIBS=`pkg-config --libs librtlsdr` -lpthread -lm
CC=gcc
PROGNAME=mode1090
all: mode1090
mode1090.o: mode1090.c
$(CC) $(CFLAGS) mode1090.c -c -o mode1090.o
mode1090: mode1090.o
$(CC) -g -o mode1090 mode1090.o $(LIBS)
clean:
rm -f *.o mode1090