mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 13:53:26 -07:00
Small changes to some armsrc makefile to allow conditional compilation of various protocols via defines, change winsrc makefile to allow override of compiler location via external defines, finally change fpgaloader to actually check that the image upload succeeded instead of just blindly sending it and hoping for the best.
This commit is contained in:
parent
c3adc9fd60
commit
d3ae0de746
3 changed files with 55 additions and 15 deletions
|
@ -1,10 +1,11 @@
|
|||
CC=cl
|
||||
BASE_DIR ?= "..\..\devkitWIN"
|
||||
BASE_DEFS = /D_WIN32_WINNT=0x501 /DISOLATION_AWARE_ENABLED /D_WIN32_IE=0x600 /DWIN32_LEAN_AND_MEAN /DWIN32 /D_MT /D_CRT_SECURE_NO_WARNINGS
|
||||
BASE_CFLAGS = /W3 /nologo /Zi /MT /Fdobj/vc90.pdb
|
||||
LIB=..\..\devkitWIN\lib;%LIB%
|
||||
LIB = $(BASE_DIR)\lib
|
||||
|
||||
DEFINES = $(BASE_DEFS)
|
||||
INCLUDES = /I..\..\devkitWIN/include
|
||||
INCLUDES = /I$(BASE_DIR)\include
|
||||
CFLAGS = $(BASE_CFLAGS) $(INCLUDES)
|
||||
|
||||
OBJDIR = obj
|
||||
|
@ -13,7 +14,7 @@ OBJS = $(OBJDIR)\prox.obj \
|
|||
$(OBJDIR)\gui.obj \
|
||||
$(OBJDIR)\command.obj
|
||||
|
||||
LIBS = user32.lib gdi32.lib setupapi.lib
|
||||
LIBS = $(LIB)\user32.lib $(LIB)\gdi32.lib $(LIB)\setupapi.lib $(LIB)\libcmt.lib $(LIB)\oldnames.lib $(LIB)\kernel32.lib
|
||||
|
||||
all: proxmark3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue