Search code examples
makefilegnu-makeconfigureautotoolsautomake

Old .Po file references old directory, how to start fresh?


Introduction

I just deleted the directory nested and removed the reference to it in my Makefile.am

I'm running ./configure && make and I get the following:

*** No rule to make target 'nested/main.c', needed by 'main.o'. Stop.

How can I run make so that it doesn't reference old directories?

Supplemental Info

I was curious if I could find where this reference is, so I did a grep -r nested . I think the only relevant hit is:

./src/.deps/main.Po:main.o nested/main.c /usr/include/stdc-predef.h /usr/include/stdio.h \

Solution

  • Answering this question from OP's comment:

    Run

    make distclean