View Ticket
Not logged in
Ticket UUID: 6e51013097c17eada8598e1cd264706376e7b30b
Title: Avoid "obj" directory for builds
Status: Fixed Type: Feature_Request
Severity: Minor Priority:
Subsystem: Resolution: Fixed
Last Modified: 2010-11-09 10:48:11
Version Found In: f93a54d0ba
Description & Comments:
BSD make has magic code to deal with "obj" as target directory, depending on some special environmental variable. If it exists, it is used automatically as current directories for target commands. This breaks incremental builds because the translate program is called with relative path to top.

It would be nice if the directory could be renamed to something else.


anonymous claiming to be james added on 2010-11-09 01:15:37:
I suffer from this same issue on OpenBSD and have to use gmake to get around it. Simply changing OBJDIR = ./obj in Makefile to OBJDIR = ./objs would be enough. Sure it kind of sucks but at least it allows the default bsd make to work after the first time.