mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 15:26:13 +08:00
rework reveng<>cliparser
This commit is contained in:
parent
07f3022aa6
commit
e4dea67cf3
|
@ -10,6 +10,6 @@ add_library(reveng STATIC
|
|||
)
|
||||
|
||||
target_compile_definitions(reveng PRIVATE PRESETS)
|
||||
target_include_directories(reveng PRIVATE .)
|
||||
target_include_directories(reveng PRIVATE ../cliparser)
|
||||
target_include_directories(reveng INTERFACE reveng)
|
||||
target_compile_options(reveng PRIVATE -Wall -Werror -O3)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Add -DPRESETS to compile with preset models (edit config.h)
|
||||
|
||||
MYSRCPATHS =
|
||||
MYINCLUDES = -I. -I..
|
||||
MYINCLUDES = -I../cliparser
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYDEFS = -DPRESETS
|
||||
MYSRCS = \
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "cliparser/getopt.h"
|
||||
#include "getopt.h"
|
||||
#ifdef _WIN32
|
||||
# include <io.h>
|
||||
# include <fcntl.h>
|
||||
|
|
Loading…
Reference in a new issue