]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/hid-flasher/Makefile
CHG: 'lf em4x' - the em4x50 demod didn't calc ASKDemod_ext with a refenence bool.
[proxmark3-svn] / client / hid-flasher / Makefile
index 5e9b6fcde6efe4b1a0e97fa8a44c7e68e9972048..90b29748fd84dcf620073cc9f6c5607da5976479 100644 (file)
@@ -12,10 +12,15 @@ CXX=g++
 VPATH = ../../common
 OBJDIR = obj
 
 VPATH = ../../common
 OBJDIR = obj
 
-LDLIBS = -L/opt/local/lib -L/usr/local/lib -lusb -lreadline -lpthread
-LDFLAGS = $(COMMON_FLAGS)
-CFLAGS = -std=gnu99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno-unused-function $(COMMON_FLAGS) -g -O3
+ifeq ($(platform),Darwin)
+       LDLIBS = -L/opt/local/lib -L/usr/local/lib -lusb-1.0 -lreadline -lpthread
+       CFLAGS = -std=gnu99 -I. -I../include -I../common -I/usr/local/include -I/opt/local/include -Wall -Wno-unused-function $(COMMON_FLAGS) -g -O3
+else
+       LDLIBS = -L/opt/local/lib -L/usr/local/lib -lusb -lreadline -lpthread
+       CFLAGS = -std=gnu99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno-unused-function $(COMMON_FLAGS) -g -O3
+endif
 
 
+LDFLAGS = $(COMMON_FLAGS)
 CXXFLAGS =
 QTLDLIBS =
 
 CXXFLAGS =
 QTLDLIBS =
 
Impressum, Datenschutz