mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
remove c99 and c++11 restrictions
This commit is contained in:
parent
8b5fd56bc3
commit
fbe4e20326
20 changed files with 28 additions and 30 deletions
|
@ -5,8 +5,6 @@
|
|||
#amiitool.c $(MYSRCS) ../../../../common/../../commonutil.c ../ui.c -lreadline -lm ../../../../common/mbedtls/libmbedtls.a \
|
||||
#-o amiitool
|
||||
|
||||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
|
||||
add_library(amiibo STATIC
|
||||
amiitool/amiibo.c
|
||||
amiitool/drbg.c
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I. -I.. -I../jansson -I../../../common -I../../../include
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYCFLAGS =
|
||||
MYDEFS =
|
||||
MYSRCS = \
|
||||
amiibo.c \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I../../../common -I../../../include -I../../src
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYCFLAGS =
|
||||
MYDEFS =
|
||||
MYSRCS = \
|
||||
argtable3.c \
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
|
||||
add_library(hardnested_nosimd OBJECT
|
||||
hardnested/hardnested_bf_core.c
|
||||
hardnested/hardnested_bitarray_core.c)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I../../../common -I../../../include -I../../src -I../jansson
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYCFLAGS =
|
||||
MYDEFS =
|
||||
MYSRCS = hardnested_bruteforce.c
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
// To compile it:
|
||||
// gcc -std=c99 -I ../../common -o hardnested_tables hardnested_tables.c
|
||||
// gcc -I../../../common -I../../../include -o hardnested_tables hardnested_tables.c
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
|
||||
add_library(jansson STATIC
|
||||
jansson/dump.c
|
||||
jansson/error.c
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I.
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE -Wno-unused-function
|
||||
MYCFLAGS = -Wno-unused-function
|
||||
MYDEFS = -DHAVE_STDINT_H
|
||||
MYSRCS = \
|
||||
dump.c \
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I.
|
||||
# Lua lib is not ready for C99 style...
|
||||
#MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
# Lua lib requires GNU extensions (implicit declarations of functions): -std=gnu99 or -std=gnu11
|
||||
MYCFLAGS =
|
||||
MYDEFS = -DLUA_COMPAT_ALL $(SYSCFLAGS)
|
||||
MYSRCS = lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c \
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
|
||||
add_library(mbedtls STATIC
|
||||
../../common/mbedtls/aes.c
|
||||
../../common/mbedtls/asn1parse.c
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
|
||||
add_library(reveng STATIC
|
||||
reveng/bmpbit.c
|
||||
reveng/cli.c
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
MYSRCPATHS =
|
||||
MYINCLUDES = -I../cliparser
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYCFLAGS =
|
||||
MYDEFS = -DPRESETS
|
||||
MYSRCS = \
|
||||
bmpbit.c \
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES =
|
||||
# Strange errors on Mingw when compiling with C99
|
||||
#MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYCFLAGS =
|
||||
MYDEFS =
|
||||
MYSRCS = \
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
|
||||
add_library(z STATIC
|
||||
../../common/zlib/deflate.c
|
||||
../../common/zlib/adler32.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue