diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-05-17 12:02:56 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-05-17 12:02:56 -0300 |
| commit | 97702f11ea016ca2e395f71f03c3fc3a2ee929ca (patch) | |
| tree | 20380f895ee422c48b970c7da5b921e046e35da4 /libphysics/Makefile | |
| parent | 5c6b3c19172948cf2e1800a9333cfcd858ee829c (diff) | |
adicionado libphysics
Diffstat (limited to 'libphysics/Makefile')
| -rw-r--r-- | libphysics/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libphysics/Makefile b/libphysics/Makefile new file mode 100644 index 0000000..cc76e28 --- /dev/null +++ b/libphysics/Makefile @@ -0,0 +1,21 @@ +OBJ=aabb.o\ + body.o\ + event.o\ + _map.o\ + tick.o + +CFLAGS=-I../include -g + +all: libphysics.a + +clean: + rm -f libphysics.a + rm -f $(OBJ) + +libphysics.a: $(OBJ) + ar rcs $@ $^ + +%.o: %.c + $(CC) $< $(CFLAGS) -c -o $@ + +.PHONY: all clean |
