removing external library

This commit is contained in:
synt-xerror
2026-02-20 16:39:50 -03:00
parent a23637a2c8
commit 7bc499f740
4 changed files with 68 additions and 83 deletions

View File

@@ -3,12 +3,10 @@ LDFLAGS := $(shell pkg-config --libs glib-2.0)
HOME := $(HOME)
task:
gcc -c toybox.c -o toybox.o
ar rcs libtoybox.a toybox.o
gcc task.c -L. -ltoybox $(CFLAGS) -o task $(LDFLAGS)
gcc task.c $(CFLAGS) -o task $(LDFLAGS)
clean:
rm -f task libtoybox.a toybox.o
rm -f task
install:
mv task /usr/local/bin