Fixed bug where test files were being added to library. (Hack fix, removes `src/test/*` from source lookup.)

Fortune for memfd_secret-shim's current commit: Half curse − 半凶
master
Avril 7 months ago
parent 94562877e0
commit 053bbb4c3b
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -3,12 +3,13 @@
PROJECT=memfd_secret-shim
AUTHOR=Avril (Flanchan) <flanchan@cumallover.me>
DESCRIPTION=
VERSION=0.0.0
VERSION=0.0.0r1
SRC = src
SRC_C = $(shell find $(SRC)/ -type f -name \*.c)
SRC_CXX = $(shell find -O2 $(SRC)/ -type f -name \*.cpp -or -name \*.cxx)
# Exclude `src/test/*` from search.
SRC_C = $(shell find $(SRC)/ -type f -name \*.c -a -not -path src/test/\*)
SRC_CXX = $(shell find -O2 $(SRC)/ -type f -name \*.cpp -or -name \*.cxx -a -not -path src/test/\*)
INCLUDE=include
# If PCH should be auto-included for all TUs, set to 1.

Loading…
Cancel
Save