repo.or.cz
/
cursedutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix shellcheck errors/warnings
[cursedutils.git]
/
Makefile
blob
c2c50d8c315ea75566e2d033de897788b002d751
1
.PHONY
:
all clean test
2
3
include
config.mk
4
5
SRCS
!=
find src
-
type f
-
regex
".*\.c"
6
OBJS
= ${
SRCS
:
.c
=
.o
}
7
PROGS
= ${
OBJS
:
.o
=}
8
9
all
: ${
PROGS
}
10
11
test
: ${
PROGS
}
12
(
cd
test
&&
.
/
harness.sh
)
13
14
clean
:
15
${
RM
} -
f
${
OBJS
} ${
PROGS
}