diff options
| author | 2024-06-20 23:14:25 -0400 | |
|---|---|---|
| committer | 2024-06-20 23:14:25 -0400 | |
| commit | 62f299dcf7eaa1821cd3ea736bc9f40b93d2bac8 (patch) | |
| tree | 810206978544b653da78e2d3ebf739841eca9a56 /examples/string | |
| parent | add fake struct to help with type checker (diff) | |
fix root push and pop issue; make shared library for examples
Diffstat (limited to '')
| -rw-r--r-- | examples/string/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/string/Makefile b/examples/string/Makefile index bf70827..6ec8882 100644 --- a/examples/string/Makefile +++ b/examples/string/Makefile @@ -4,6 +4,9 @@ COMMON_OBJS=../test_common.o uns_string.o .SUFFIXES: .test CFLAGS=-Wall -Wno-overlength-strings -std=c89 -Werror -pedantic -fPIC -g -Iinclude +libunsstring.so: uns_string.o + $(CC) -shared -I../../include $(CFLAGS) $< -o libunsstring.so + test: $(TESTS) $(COMMON_OBJS) for i in $(TESTS); do \ LD_LIBRARY_PATH=$$(pwd)/../../ valgrind ./$$i || exit 1; \ |
