From 7033187abaf42772097377c0a1ffc2cd4cefdada Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 4 Aug 2023 10:12:04 +0800 Subject: minor adjustments Not bug deals but adjustments of details. --- src/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 94399cb..a56c453 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,8 +18,11 @@ big_endian.o: big_endian.c big_endian.h helper.o: helper.c helper.h big_endian.o $(CC) $(CFLAGS) -c helper.c -o $@ -test: test.c ../target/debug/librep.dylib helper.o big_endian.o - $(CC) $(CFLAGS) $+ -o $@ +test: test.c rs ../target/debug/librep.dylib helper.o big_endian.o + $(CC) $(CFLAGS) test.c ../target/debug/librep.dylib helper.o big_endian.o -o $@ + +print_forest: print_forest.c rs helper.o big_endian.o ../target/debug/librep.dylib + $(CC) $(CFLAGS) print_forest.c ../target/debug/librep.dylib helper.o big_endian.o -o $@ .PHONY: clean rs windows @@ -27,6 +30,8 @@ clean: -rm -f *.o -rm -f rep.so -rm -f test + -rm -f print_forest + -rm -rf *.dSYM cargo clean windows: -- cgit v1.2.3-18-g5258