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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"