X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/6e621012d68aaa1b28c9c14eeeec6987d093c02f..256adf553a043566b5131e718060b918d2075943:/Makefile diff --git a/Makefile b/Makefile index 0bc8272..bb05507 100644 --- 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