mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-06 21:19:18 +08:00
fix compiling under MAC OSX
This commit is contained in:
parent
3d77fdfab5
commit
38c4979dae
3 changed files with 8 additions and 8 deletions
|
@ -31,13 +31,13 @@ MOC = $(shell pkg-config --variable=moc_location QtCore)
|
|||
endif
|
||||
|
||||
|
||||
ifneq ($(QTLDLIBS),)
|
||||
QTGUI = $(OBJDIR)/proxgui.o $(OBJDIR)/proxguiqt.o $(OBJDIR)/proxguiqt.moc.o
|
||||
CFLAGS += -DHAVE_GUI
|
||||
LINK.o = $(LINK.cpp)
|
||||
else
|
||||
#ifneq ($(QTLDLIBS),)
|
||||
#QTGUI = $(OBJDIR)/proxgui.o $(OBJDIR)/proxguiqt.o $(OBJDIR)/proxguiqt.moc.o
|
||||
#CFLAGS += -DHAVE_GUI
|
||||
#LINK.o = $(LINK.cpp)
|
||||
#else
|
||||
QTGUI = guidummy.o
|
||||
endif
|
||||
#endif
|
||||
|
||||
CMDSRCS = \
|
||||
nonce2key/crapto1.c\
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <ctype.h>
|
||||
#include "util.h"
|
||||
|
||||
#ifdef __linux__
|
||||
#ifndef WIN32
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
int ukbhit(void)
|
||||
|
|
|
@ -20,7 +20,7 @@ platform = $(shell uname)
|
|||
|
||||
all:
|
||||
|
||||
CROSS ?= arm-eabi-
|
||||
CROSS ?= arm-none-eabi-
|
||||
CC = $(CROSS)gcc
|
||||
AS = $(CROSS)as
|
||||
LD = $(CROSS)ld
|
||||
|
|
Loading…
Reference in a new issue