projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e62101
)
Allow the user to specify the compiler via environment variable
author
Florian Franzmann
<bwlf@bandrate.org>
Sat, 5 Sep 2020 16:03:08 +0000
(18:03 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sat, 5 Sep 2020 16:45:20 +0000
(18:45 +0200)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 0bc8272b967761306acb25a9712f9c074fb5dae4..bb05507603af48012a4d7bea492eecfbd4713703 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-21,7
+21,10
@@
CFLAGS+= -MMD -O2 -I/opt/local/include -g
LDFLAGS:=-L/opt/local/lib
LDLIBS:=-lusb-1.0 -lrt
+
+ifeq ($(firstword $(origin CC)),default)
CC:=gcc
+endif
HMLAN_OBJS:=hmcfgusb.o hmland.o util.o
HMSNIFF_OBJS:=hmcfgusb.o hmuartlgw.o hmsniff.o
Impressum
,
Datenschutz