[Bug 202656] make(1) prerequisite not assigned to target if target has ./ prefix
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 25 14:28:31 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202656
Bug ID: 202656
Summary: make(1) prerequisite not assigned to target if target
has ./ prefix
Product: Base System
Version: 10.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: sdaoden at yandex.com
Makefile contains
$(AMALGAM_TARGET) mime_types.o: mime_types.h
make(1) produces
==========
CC ./mime_types.c
./mime_types.c:95:10: fatal error: 'mime_types.h' file not found
#include "mime_types.h"
^
1 error generated.
*** Error code 1
Stop.
make[1]: stopped in /usr/home/sdaoden/usr/src/nail.git
*** Error code 1
Stop.
make: stopped in /usr/home/sdaoden/usr/src/nail.git
==========
It works if i add a ./mime_types.o target.
I guess a basename(3) should be added somewhere.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list