diff --git a/client/Makefile b/client/Makefile index c76edf522..7224fe069 100644 --- a/client/Makefile +++ b/client/Makefile @@ -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\ diff --git a/client/util.c b/client/util.c index c7764f709..cbb1bfda9 100644 --- a/client/util.c +++ b/client/util.c @@ -14,7 +14,7 @@ #include #include "util.h" -#ifdef __linux__ +#ifndef WIN32 #include #include int ukbhit(void) diff --git a/common/Makefile.common b/common/Makefile.common index 0e3bdd1eb..d89683270 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -20,7 +20,7 @@ platform = $(shell uname) all: -CROSS ?= arm-eabi- +CROSS ?= arm-none-eabi- CC = $(CROSS)gcc AS = $(CROSS)as LD = $(CROSS)ld