Makefile
changeset 3 2fcd20b32b2e
parent 2 5bdd42401211
child 11 1fccf68e52c6
equal deleted inserted replaced
2:5bdd42401211 3:2fcd20b32b2e
     1 BIN = mimecut
     1 BIN = mimecut
     2 CLEANFILES = $(BIN)
     2 CLEANFILES = $(BIN)
     3 
     3 
     4 .PHONY: all clean install
     4 .PHONY: all clean install test
     5 
     5 
     6 all:	$(BIN)
     6 all:	$(BIN)
     7 
     7 
     8 clean:
     8 test:	all
     9 	-rm -f $(CLEANFILES)
     9 	prove --timer t/
       
    10 
       
    11 clean:  ; -rm -f $(CLEANFILES)
    10 
    12 
    11 %:	%.pl
    13 %:	%.pl
    12 	# $<
    14 	# $<
    13 	@perl -c - <$< 
    15 	@perl -c - <$< 
    14 	@cp -f $< $@
    16 	@cp -f $< $@