daves Posted November 29, 2012 Share Posted November 29, 2012 There is an annoying bug in the generation of make files which could lead to some head scratching. I will detail it here to help anyone who gets stumped by the error message, and add a bug entry: Adding a c app where the name starts with an existing c app name corrupts the make file of the existing app. Create a new project. Build. Look at "C Language\Background Programs\capp1\capp1_debug.mak" -Wl,--wrap,munmap \ -Wl,--wrap,select RM = rm -f SRCS = \ capp1.c OBJS = $(SRCS:.c=.o) PROG = "../../../Bin/Debug/capp1.out" export CROSS_COMPILE=ppc_4xxFP- export ARCH=powerpc Add a new Background C Application called capp10. Build. There will be an error "capp1_debug.mak:156: *** target pattern contains no `%'. Stop." Now look again at "C Language\Background Programs\capp1\capp1_debug.mak" -Wl,--wrap,munmap \ -Wl,--wrap,select RM = rm -f SRCS = \ C:/ABD/PowerPMAC/SPMM/PowerPmac3/PowerPmac3/C Language/Background Programs/capp10/capp10.c\ capp1.c OBJS = $(SRCS:.c=.o) PROG = "../../../Bin/Debug/capp1.out" export CROSS_COMPILE=ppc_4xxFP- export ARCH=powerpc Link to comment Share on other sites More sharing options...
Recommended Posts