Cleanup 'make clean'

This commit is contained in:
Tee Teoh
2008-10-18 23:16:57 -04:00
parent a412f13c09
commit be54eca472

View File

@@ -1,6 +1,6 @@
ERL=erl
OTP_TOP=/opt/local/lib/erlang/lib
PLT_SRC=$(OTP_TOP)/kernel-2.12.4/ebin $(OTP_TOP)/stdlib-1.15.4/ebin/ $(OTP_TOP)/crypto-1.5.2.1/ebin $(OTP_TOP)/compiler-4.5.4/ebin $(OTP_TOP)/hipe-3.6.8/ebin/ ebin
PLT_SRC=$(OTP_TOP)/kernel-2.12.4/ebin $(OTP_TOP)/stdlib-1.15.4/ebin/ $(OTP_TOP)/crypto-1.5.2.1/ebin $(OTP_TOP)/compiler-4.5.4/ebin $(OTP_TOP)/hipe-3.6.8/ebin/ $(OTP_TOP)/syntax_tools-1.5.5/ebin $(OTP_TOP)/hipe-3.6.8/ebin ebin
all: compile docs
@@ -12,9 +12,8 @@ static:
dialyzer --build_plt --output_plt sqlite.plt -r ebin $(PLT_SRC)
clean:
- rm ebin/*.beam
- rm doc/*
- rm -rf ct_nodes* all_runs.html variables*
- rm -rf ebin/*.beam doc/* sqlite.plt src/test/*.beam
- rm -rf ct_run* all_runs.html variables* index.html
find . -name "*~" | xargs rm
cd priv && make clean