From: Florian Forster Date: Sat, 2 Feb 2008 00:01:19 +0000 (+0100) Subject: Added a `clean' target. X-Git-Tag: v1.0.0~119 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=97816948728f2f17e7dd394a6fe4ab1f54fc0be9;p=sort-networks.git Added a `clean' target. --- diff --git a/src/Makefile b/src/Makefile index e86008d..58ed924 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,6 +4,10 @@ CFLAGS = -Wall -Werror -std=c99 -O3 all: sn-cut sn-evolution sn-merge sn-show +clean: + rm -f *.o + rm -f sn-cut sn-evolution sn-merge sn-show + sn_comparator.o: sn_comparator.c sn_comparator.h sn_stage.o: sn_stage.c sn_stage.h sn_comparator.h @@ -18,3 +22,5 @@ sn-merge: sn-merge.c sn_network.o sn_stage.o sn_comparator.o sn-show: sn-show.c sn_network.o sn_stage.o sn_comparator.o +.PHONY: clean +