From 97702f11ea016ca2e395f71f03c3fc3a2ee929ca Mon Sep 17 00:00:00 2001 From: esquizo Date: Sun, 17 May 2026 12:02:56 -0300 Subject: adicionado libphysics --- libphysics/test/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libphysics/test/Makefile (limited to 'libphysics/test/Makefile') diff --git a/libphysics/test/Makefile b/libphysics/test/Makefile new file mode 100644 index 0000000..eb1d5cb --- /dev/null +++ b/libphysics/test/Makefile @@ -0,0 +1,19 @@ +CFLAGS=-I../../include -g +LDFLAGS=-L../ -lphysics `pkg-config --libs sdl3` + +all: vis + +clean: + rm -f vis + rm -f vis.o + +vis: ../libphysics.a vis.o + $(CC) $^ $(LDFLAGS) -o $@ + +%.o: %.c + $(CC) $< $(CFLAGS) -c -o $@ + +../libphysics.a: + $(MAKE) -C .. all + +.PHONY: all clean -- cgit v1.2.3