Fossil SCM

Avoid "obj" directory for builds

Fixed

6e51013097c17ea… · opened 15 years, 6 months ago

Type
Feature_Request
Priority
Severity
Minor
Resolution
Fixed
Subsystem
Created
Oct. 10, 2010 10:11 a.m.

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.


Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button