forked from righthalfplane/SdrGlut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefileExample
65 lines (47 loc) · 4.19 KB
/
makefileExample
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
55
56
57
58
59
60
61
62
63
64
65
#CFLAGS = -DNO_FORTRAN -O2 -g -Wno-deprecated-declarations -I/usr/X11R6/include -I./DrawFindPointHistory -I./MainSource -I./KdTree-routines -I./glui-routines/include -I./CExpress -Wall
#CXXFLAGS = -std=c++11 -O2 -g -DNO_FORTRAN -Wno-deprecated-declarations -I./Digital -I./glui-routines/include -I/usr/X11R6/include -I./DrawFindPointHistory -I./MainSource -I./KdTree-routines -I./SdrFile -I./Radio -I./CExpress -I./Classes -I./SdrGlut -Wall
CFLAGS = -DNO_FORTRAN -O2 -Wno-deprecated-declarations -I/usr/X11R6/include -I./DrawFindPointHistory -I./MainSource -I./KdTree-routines -I./glui-routines/include -I./CExpress
CXXFLAGS = -std=c++11 -O2 -DNO_FORTRAN -Wno-deprecated-declarations -I./Digital -I./glui-routines/include -I/usr/X11R6/include -I./DrawFindPointHistory -I./MainSource -I./KdTree-routines -I./SdrFile -I./Radio -I./CExpress -I./Classes -I./SdrGlut
CFILES= ./MainSource/Geom.c
COBJS=
CCFILES= ./glui-routines/algebra3.cpp ./glui-routines/arcball.cpp ./glui-routines/glui.cpp \
./glui-routines/glui_add_controls.cpp ./glui-routines/glui_bitmap_img_data.cpp \
./glui-routines/glui_bitmaps.cpp ./glui-routines/glui_button.cpp \
./glui-routines/glui_checkbox.cpp ./glui-routines/glui_column.cpp \
./glui-routines/glui_commandline.cpp ./glui-routines/glui_control.cpp \
./glui-routines/glui_edittext.cpp ./glui-routines/glui_filebrowser.cpp \
./glui-routines/glui_list.cpp ./glui-routines/glui_listbox.cpp \
./glui-routines/glui_mouse_iaction.cpp ./glui-routines/glui_node.cpp \
./glui-routines/glui_panel.cpp ./glui-routines/glui_radio.cpp \
./glui-routines/glui_rollout.cpp ./glui-routines/glui_rotation.cpp \
./glui-routines/glui_scrollbar.cpp ./glui-routines/glui_separator.cpp \
./glui-routines/glui_spinner.cpp ./glui-routines/glui_statictext.cpp \
./glui-routines/glui_string.cpp ./glui-routines/glui_textbox.cpp \
./glui-routines/glui_translation.cpp ./glui-routines/glui_tree.cpp \
./glui-routines/glui_treepanel.cpp ./glui-routines/glui_window.cpp \
./glui-routines/quaternion.cpp ./glui-routines/tools/ppm.cpp
CCOBJS = ./glui-routines/algebra3.o ./glui-routines/arcball.o ./glui-routines/glui.o \
./glui-routines/glui_add_controls.o ./glui-routines/glui_bitmap_img_data.o \
./glui-routines/glui_bitmaps.o ./glui-routines/glui_button.o \
./glui-routines/glui_checkbox.o ./glui-routines/glui_column.o \
./glui-routines/glui_commandline.o ./glui-routines/glui_control.o \
./glui-routines/glui_edittext.o ./glui-routines/glui_filebrowser.o \
./glui-routines/glui_list.o ./glui-routines/glui_listbox.o \
./glui-routines/glui_mouse_iaction.o ./glui-routines/glui_node.o \
./glui-routines/glui_panel.o ./glui-routines/glui_radio.o \
./glui-routines/glui_rollout.o ./glui-routines/glui_rotation.o \
./glui-routines/glui_scrollbar.o ./glui-routines/glui_separator.o \
./glui-routines/glui_spinner.o ./glui-routines/glui_statictext.o \
./glui-routines/glui_string.o ./glui-routines/glui_textbox.o \
./glui-routines/glui_translation.o ./glui-routines/glui_tree.o \
./glui-routines/glui_treepanel.o ./glui-routines/glui_window.o \
./glui-routines/quaternion.o ./glui-routines/tools/ppm.o \
./example/example6.o ./example/Utilities.o
fireball: ${COBJS} ${CCOBJS}
# ${CXX} ${CFLAGS} -o fireball.x ${COBJS} ${CCOBJS} -lm -L/usr/local/hdf-64/lib -L/usr/X11R6/lib -lX11 -lpthread -ldf -ljpeg -lz -framework OpenGL -framework GLUT
# ${CXX} ${CFLAGS} -o fireball.x ${COBJS} ${CCOBJS} -lm -L/usr/local/hdf-64/lib -L/usr/X11R6/lib -L../Rx3/recipe/lib -L/usr/local/gfortran/lib/ -lgfortran -lrx3_64 -lX11 -lpthread -ldf -ljpeg -lz -lglut -lgl -lglu -lglew -lgdal
# ${CXX} ${CFLAGS} -o fireball.x ${COBJS} ${CCOBJS} -lm -L/usr/local -L/usr/X11R6/lib -L/usr/local/gfortran/lib/ -lX11 -lpthread -ldf -ljpeg -lz -lglut -lgl -lglu -lglew -lgdal
# ${CXX} ${CFLAGS} -o sdrglut.x ${COBJS} ${CCOBJS} -lm -L/usr/local -L/usr/X11/lib -lX11 -lpthread -ldf -ljpeg -lz -lglut -lgl -lglu -lglew -framework OpenGL -framework GLUT -framework OpenAL -lliquid -lSoapyOsmoSDR -lSoapySDR -lsndfile
${CXX} ${CFLAGS} -o example.x -g ${COBJS} ${CCOBJS} -lm -L/usr/local -L/opt/X11/lib -lX11 -lglut -lgl -lglu -framework OpenGL -framework GLUT -framework OpenAL -lliquid -lSoapySDR -lrtaudio
# ./MainSource/mThreadPC.cpp
# ./MainSource/mThreadPC.o