Added a `clean' target.
authorFlorian Forster <octo@huhu.verplant.org>
Sat, 2 Feb 2008 00:01:19 +0000 (01:01 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 2 Feb 2008 00:01:19 +0000 (01:01 +0100)
src/Makefile

index e86008d..58ed924 100644 (file)
@@ -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
+