views:

10

answers:

1

I would like to delete a another directory when I run make clean, but I can't figure out how to code it up in the rules.

I have tried

clean-local:
  -rm -f del.dir

but that didn't work.

I also tried

CLEANFILES = del.dir

but that also didn't work.

Any suggestions would be appreciated,

Thanks for your time, Josh

A: 

clean-local should work, but the command to erase a directory is rm -rf dir, not rm -f dir.

adl
yea i typed it in wrong, thanks though
Grammin

related questions