diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-05-12 15:05:57 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-05-12 15:05:57 +0100 |
commit | 082dee0658b67744ab3428eea964f375f7aab9dc (patch) | |
tree | 6dd58d5044513ec7bef3b445fefa7003e33ebeed /Makefile | |
parent | 654bb8b09dd90c12c3a51ffdce800b2255b753b5 (diff) | |
download | libbuf-082dee0658b67744ab3428eea964f375f7aab9dc.tar.gz libbuf-082dee0658b67744ab3428eea964f375f7aab9dc.zip |
Added more functionality to Buf, substring, search for characer, and shifting string.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5,17 +5,18 @@ CPPFLAGS=-fPIC -g3 -Wall -Wwrite-strings -fpermissive -fno-rtti -fno-exceptions make: $(CPP) $(CPPFLAGS) -c buf.c - $(CPP) $(CFLAGS) -c buf_misc.c + $(CPP) $(CPPFLAGS) -c buf_misc.c #$(CPP) $(CFLAGS) -c buf_sys.c #$(CC) $(CFLAGS) -fPIC -lc -ldl buf_sys.o buf_misc.o buf.o -shared -o libbuf.so - $(CC) $(CFLAGS) -fPIC -lc -ldl buf.o -shared -o libbuf.so + $(CC) $(CFLAGS) -fPIC -lc -ldl buf.o buf_misc.o -shared -o libbuf.so t: buf.c buf_misc.c buf_sys.c $(CPP) $(CPPFLAGS) test.c -c + $(CPP) $(CPPFLAGS) test_line.c -c $(CC) $(CFLAGS) buf.o test.o -o test #$(CC) $(CFLAGS) buf.o buf_misc.o buf_sys.o test_circ.c -o test_circ #$(CC) $(CFLAGS) buf.o buf_misc.o buf_sys.o test_circ.c -o test_sys - #$(CC) $(CFLAGS) buf.o buf_misc.o test_line.c -o test_line + $(CC) $(CFLAGS) buf.o buf_misc.o test_line.o -o test_line leak: valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./test |