-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
executable file
·54 lines (44 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
CFLAGS = -O3 -pipe -mfpu=vfpv4 -mfloat-abi=hard -mtune=cortex-a7 -mcpu=cortex-a7 -mfpu=neon-vfpv4 -fno-tree-vectorize -fopenmp -I/usr/include/libusb-1.0/ -I/usr/local/include/
#CC = gcc-4.8
LD = /usr/bin/ld
LDFLAGS =
LIBOBJS =
LIBS = -lortp -lsamplerate -levent_openssl -levent_pthreads -levent -lusb-1.0 -lconfig -ljack -lusb -lpulse -lpulse-simple -lcodec2 -lfftw3f -lportaudio -lm
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO =
LN_S = ln -s
LTLIBOBJS =
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -B
OBJDUMP = objdump
OBJEXT = o
SHELL = /bin/bash
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/pi/ghpsdr3-alex/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
DEPS = \
listener.c \
util.c \
ozy.c \
ozyio.c \
server.c \
hpsdr_usb.h \
ozy.h \
util.h \
buffer.h \
getopt.h \
listener.h \
ozyio.h \
semaphore.h
OBJ = listener.o util.o ozy.o ozyio.o server.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
ozymetis: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
.PHONY: clean
clean:
rm -f $(ODIR)/*.o