removing external library
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user