aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsldj/Makefile
diff options
context:
space:
mode:
authornathansmith <nathansmith@posteo.com>2025-04-26 14:49:59 +0000
committernathansmith <nathansmith@posteo.com>2025-04-26 14:49:59 +0000
commitcbc1dfa2fcafb283cea5d87092db1a9b786c962c (patch)
tree969a12b9d37f4bda2aed8a984fe2ac96d0c55d6f /src/libsldj/Makefile
parentc2cf22bbfb26f0f778ded8be82ddb16816b8c8f0 (diff)
downloadsldj-cbc1dfa2fcafb283cea5d87092db1a9b786c962c.tar.gz
sldj-cbc1dfa2fcafb283cea5d87092db1a9b786c962c.tar.bz2
sldj-cbc1dfa2fcafb283cea5d87092db1a9b786c962c.zip
Downgraded to makefile lol
Diffstat (limited to 'src/libsldj/Makefile')
-rw-r--r--src/libsldj/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libsldj/Makefile b/src/libsldj/Makefile
new file mode 100644
index 0000000..fc15314
--- /dev/null
+++ b/src/libsldj/Makefile
@@ -0,0 +1,11 @@
+TARGET = libsldj.so
+SOURCES = $(shell find -name "*.c")
+OBJECTS = $(SOURCES:.c=.o)
+
+%.o: %.c
+ $(CC) -c -fPIC -o $@ $<
+$(TARGET): $(OBJECTS)
+ $(CC) -shared -o $(TARGET) $(OBJECTS)
+clean:
+ rm *.o
+ rm $(TARGET)