projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f35cf44
)
Makefile: possibility to add the rust library as a cdynlib/header
author
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Fri, 17 Feb 2023 11:25:15 +0000
(16:55 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Fri, 17 Feb 2023 11:25:15 +0000
(16:55 +0530)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 1a1b2238dbb2a8c851ecdddbcee0d16f0e98f5e5..b8bd0a18f7b543fe47f108f2faebddca86f8b196 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-234,11
+234,12
@@
SYSLIBS=-framework IOKit
endif
RUST_LIB=-Lrust/target/debug -lhpsdr
+RUST_INCLUDES=-Irust/target/debug
LIBS= $(LDFLAGS) $(AUDIO_LIBS) $(USBOZY_LIBS) $(GTKLIBS) $(GPIO_LIBS) $(SOAPYSDRLIBS) $(STEMLAB_LIBS) \
$(MIDI_LIBS) $(RUST_LIB) -lwdsp -lpthread -lm $(SYSLIBS)
-INCLUDES=$(GTKINCLUDES)
+INCLUDES=$(GTKINCLUDES)
$(RUST_INCLUDES)
COMPILE=$(CC) $(CFLAGS) $(OPTIONS) $(INCLUDES)