Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rule to make target '../common/libobjs.mif'. Stop. #152

Closed
jmsherndon opened this issue Aug 14, 2023 · 5 comments
Closed

No rule to make target '../common/libobjs.mif'. Stop. #152

jmsherndon opened this issue Aug 14, 2023 · 5 comments

Comments

@jmsherndon
Copy link

C:\Users\jmshe\OneDrive\Desktop\PDCurses-3.9\wincon\makefile:25: ../common/libobjs.mif: No such file or directory
mingw32-make: *** No rule to make target '../common/libobjs.mif'. Stop.

im getting this every time i try to compile tried with msvc and gcc dont know if im doing something wrong or if its an issue with the program

@wmcbrine
Copy link
Owner

Perhaps you should clarify the exact command you typed, and the steps you took before that.

The "common" directory does of course contain the file "libobjs.mif", in the original source.

@jmsherndon
Copy link
Author

well i dont know what happened now im getting a new error. command included

PS D:\program files\codeblocks\mingw\bin> .\mingw32-make -f c:\PDcurses\wincon\makefile
c:\PDcurses\wincon\makefile:90: *** target pattern contains no '%'. Stop.

@wmcbrine
Copy link
Owner

So, your prompt tells the tale. You should be doing this:

c:
cd \PDCurses\wincon
mingw32-make

Or, alternately:

set PDCURSES_SRCDIR=C:\PDCurses
mingw32-make -f C:\PDCurses\wincon\Makefile

The Makefile doesn't know where it is, unless you set PDCURSES_SRCDIR. Otherwise, it assumes the current directory.

@jmsherndon
Copy link
Author

PS C:\PDCurses\wincon> set PDCURSES_SCRDIR=C:\PDCurses
PS C:\PDCurses\wincon> mingw32-make -f makefile
makefile:25: "c:\PDcurses"/common/libobjs.mif: Invalid argument
makefile:90: *** target pattern contains no '%'. Stop.
PS C:\PDCurses\wincon> mingw32-make
Makefile:25: "c:\PDcurses"/common/libobjs.mif: Invalid argument
Makefile:90: *** target pattern contains no '%'. Stop.

@jmsherndon
Copy link
Author

WTF moved the makefile from the SAME zipfile i extracted from and it worked, thanks for supporting though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants