15 lines
421 B
Makefile
15 lines
421 B
Makefile
export PWD_D=/here/projects/my_device_handler/
|
|
|
|
# ...
|
|
# undefined reference to symbol '__stack_chk_guard@@GLIBC_2.17'
|
|
# ...
|
|
# error adding symbols: DSO missing from command line
|
|
#
|
|
# FIX BY INCLUDING FLAG
|
|
# -fno-stack-protector
|
|
export C_FLAGS=-ansi -Werror -Wall -Wpedantic -fPIC -O2 -g -fno-stack-protector -std=c99
|
|
|
|
export LINK_LIBS=-levdev -lpthread
|
|
|
|
export I_EVDEV=-I ../../resources/sources/libevdev-1.13.4/libevdev
|