Add clean target to Makefile

This commit is contained in:
Tom Willemse 2013-11-17 01:14:22 +01:00
parent 6aa289c124
commit 4e0716333d

View file

@ -1,7 +1,14 @@
CFLAGS = -lcrypto -fPIC
.PHONY: clean
libdispass.so: dispass.o
$(CC) $(CFLAGS) -shared -o libdispass.so $^
dispasstest: libdispass.so dispasstest.o
$(CC) -o dispasstest -L. -ldispass dispasstest.o
clean:
rm -f dispasstest
rm -f *.so
rm -f *.o