build system: clean up object files in ./test and ./util

This commit is contained in:
David Bremner 2011-11-26 09:55:07 -08:00
parent 0da10aa1bc
commit 9756b9dcb9
2 changed files with 3 additions and 1 deletions

View file

@ -17,4 +17,4 @@ test: all $(dir)/smtp-dummy
check: test check: test
CLEAN := $(CLEAN) $(dir)/smtp-dummy CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o

View file

@ -9,3 +9,5 @@ libutil_modules := $(libutil_c_srcs:.c=.o)
$(dir)/libutil.a: $(libutil_modules) $(dir)/libutil.a: $(libutil_modules)
$(call quiet,AR) rcs $@ $^ $(call quiet,AR) rcs $@ $^
CLEAN := $(CLEAN) $(dir)/xutil.o $(dir)/error_util.o $(dir)/libutil.a