aboutsummaryrefslogtreecommitdiffstats
path: root/agi
diff options
context:
space:
mode:
Diffstat (limited to 'agi')
-rw-r--r--agi/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/agi/Makefile b/agi/Makefile
index 5f2a6af9b..d9d10dcd3 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -39,8 +39,11 @@ eagi-test: eagi-test.o
eagi-sphinx-test: eagi-sphinx-test.o
$(CC) $(CFLAGS) -o eagi-sphinx-test eagi-sphinx-test.o $(LIBS)
-clean:
- rm -f *.so *.o look .depend eagi-test eagi-sphinx-test
+clean-depend:
+ rm -f .depend
+
+clean: clean-depend
+ rm -f *.so *.o look eagi-test eagi-sphinx-test
%.so : %.o
$(CC) -shared -Xlinker -x -o $@ $<