Add clean target to Makefile
This commit is contained in:
parent
6aa289c124
commit
4e0716333d
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -1,7 +1,14 @@
|
||||||
CFLAGS = -lcrypto -fPIC
|
CFLAGS = -lcrypto -fPIC
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
libdispass.so: dispass.o
|
libdispass.so: dispass.o
|
||||||
$(CC) $(CFLAGS) -shared -o libdispass.so $^
|
$(CC) $(CFLAGS) -shared -o libdispass.so $^
|
||||||
|
|
||||||
dispasstest: libdispass.so dispasstest.o
|
dispasstest: libdispass.so dispasstest.o
|
||||||
$(CC) -o dispasstest -L. -ldispass dispasstest.o
|
$(CC) -o dispasstest -L. -ldispass dispasstest.o
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f dispasstest
|
||||||
|
rm -f *.so
|
||||||
|
rm -f *.o
|
||||||
|
|
Loading…
Reference in a new issue