mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-11-13 22:43:28 +01:00
Add Check unit testing example
This commit is contained in:
1 parent
c8a5e7aaec
commit
133b387d3f
3 files changed
+120
No files matched your search
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
OBJ = main.o
|
||||
LDADD = -lcheck
|
||||
|
||||
test: $(OBJ)
|
||||
${CC} ${OBJ} -o test ${LDADD}
|
||||
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} -c $<
|
||||
|
||||
clean:
|
||||
rm -f test
|
||||
|
||||
Reference in new issue
Block a user