Re: Issues with defining output objects

zxuiji <[email protected]> Sun, 29 Nov 2015 02:37:53 -0800 (PST)
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
Never mind, I figured out how to sort it:
...OBJS=$(patsubst %.c, ${CURDIR}/../objs/$(.DEFAULT_GOAL)/%.o,
$(SOURCES))OUT=${CURDIR}/../../bin/codit_$(.DEFAULT_GOAL)$(EXE)$(.DEFAULT_GOAL):
$(OBJS)	$(CC) $(LIBS) $(OBJS) -o $(OUT)$(OBJS):
${CURDIR}/../objs/$(.DEFAULT_GOAL)/%.o : %.c	$(CC) -v $(LIBS) $(INCS)
$(CFLAGS) -c $< -o $@...
I shifted the OBJS variable to after the forced definition of .DEFAULT_GOAL
to ensure nothing went to undesired locations.



--
View this message in context: http://gnu-make.2324884.n4.nabble.com/Issues-with-defining-output-objects-tp16716p16719.html
Sent from the Gnu - Make - W32 mailing list archive at Nabble.com.

_______________________________________________
Make-w32 mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/make-w32