We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22defe5 commit 64630dbCopy full SHA for 64630db
MakeMakefile
@@ -1,5 +1,10 @@
1
#!/bin/sh
2
3
+if [ -e libefence.a ]
4
+then EFENCE=libefence.a
5
+else EFENCE=
6
+fi
7
+
8
OBJS=$(
9
for i in *.c
10
do
@@ -29,11 +34,11 @@ echo "MYCFLAGS=-pedantic -Wall -Werror -std=c99"
29
34
echo ".PHONY=clean debug"
30
35
echo
31
36
echo 'debug: MYCFLAGS += -g -DDEBUG'
32
-echo 'debug: LIBS += libefence.a -lpthread'
37
+echo 'debug: LIBS += '$EFENCE' -lpthread'
33
38
echo 'debug: '$1
39
40
echo 'debuglite: MYCFLAGS += -g -DDEBUGLITE'
-echo 'debuglite: LIBS += libefence.a -lpthread'
41
+echo 'debuglite: LIBS += '$EFENCE' -lpthread'
42
echo 'debuglite: '$1
43
44
echo 'gcov: MYCFLAGS += -fprofile-arcs -ftest-coverage'
0 commit comments