mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 05:32:03 +03:00
Simplify 'test' target in libs/network/Makefile
This commit is contained in:
parent
052c98d86e
commit
30830de5b7
@ -47,9 +47,9 @@ clean :
|
||||
rm -rf $(OBJS) $(LIBTARGET) $(DYLIBTARGET) build
|
||||
|
||||
test: build test.c
|
||||
cp $(DYLIBTARGET) lib$(DYLIBTARGET) # to make C linker happy
|
||||
$(CC) -o network-tests -L. -I. test.c -l$(LIBNAME)
|
||||
$(CC) -o network-tests -L. -I. test.c $(DYLIBTARGET)
|
||||
LD_LIBRARY_PATH=. ./network-tests
|
||||
@rm -f ./network-tests
|
||||
./lib-tests
|
||||
|
||||
$(OBJS): $(HDRS)
|
||||
|
Loading…
Reference in New Issue
Block a user