mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-04 03:58:08 +08:00
client/Makefile: Cosmestic changes.
This commit is contained in:
parent
a553f26748
commit
62b1302c97
1 changed files with 15 additions and 15 deletions
|
@ -17,6 +17,21 @@ CFLAGS = -std=gnu99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno
|
||||||
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall
|
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall
|
||||||
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
|
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
|
||||||
|
|
||||||
|
ifeq ($(shell uname),Darwin)
|
||||||
|
CXXFLAGS = -I/Library/Frameworks/QtGui.framework/Versions/Current/Headers -I/Library/Frameworks/QtCore.framework/Versions/Current/Headers
|
||||||
|
QTLDLIBS = -framework QtGui -framework QtCore
|
||||||
|
MOC = moc
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(QTLDLIBS),)
|
||||||
|
QTGUI = $(OBJDIR)/proxgui.o $(OBJDIR)/proxguiqt.o $(OBJDIR)/proxguiqt.moc.o
|
||||||
|
CFLAGS += -DHAVE_GUI
|
||||||
|
MOC ?= $(shell pkg-config --variable=moc_location QtCore)
|
||||||
|
LINK.o = $(LINK.cpp)
|
||||||
|
else
|
||||||
|
QTGUI = guidummy.o
|
||||||
|
endif
|
||||||
|
|
||||||
CMDSRCS = \
|
CMDSRCS = \
|
||||||
crc16.c \
|
crc16.c \
|
||||||
iso14443crc.c \
|
iso14443crc.c \
|
||||||
|
@ -39,21 +54,6 @@ CMDSRCS = \
|
||||||
|
|
||||||
CMDOBJS = $(CMDSRCS:%.c=$(OBJDIR)/%.o)
|
CMDOBJS = $(CMDSRCS:%.c=$(OBJDIR)/%.o)
|
||||||
|
|
||||||
ifeq ($(shell uname),Darwin)
|
|
||||||
CXXFLAGS = -I/Library/Frameworks/QtGui.framework/Versions/Current/Headers -I/Library/Frameworks/QtCore.framework/Versions/Current/Headers
|
|
||||||
QTLDLIBS = -framework QtGui -framework QtCore
|
|
||||||
MOC = moc
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(QTLDLIBS),)
|
|
||||||
QTGUI = $(OBJDIR)/proxgui.o $(OBJDIR)/proxguiqt.o $(OBJDIR)/proxguiqt.moc.o
|
|
||||||
CFLAGS += -DHAVE_GUI
|
|
||||||
MOC ?= $(shell pkg-config --variable=moc_location QtCore)
|
|
||||||
LINK.o = $(LINK.cpp)
|
|
||||||
else
|
|
||||||
QTGUI = guidummy.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
BINS = proxmark3 snooper cli flasher
|
BINS = proxmark3 snooper cli flasher
|
||||||
CLEAN = cli cli.exe flasher flasher.exe proxmark3 proxmark3.exe snooper snooper.exe $(CMDOBJS) $(OBJDIR)/*.o *.o *.moc.cpp
|
CLEAN = cli cli.exe flasher flasher.exe proxmark3 proxmark3.exe snooper snooper.exe $(CMDOBJS) $(OBJDIR)/*.o *.o *.moc.cpp
|
||||||
|
|
Loading…
Reference in a new issue