From: <no...@so...> - 2001-12-11 13:49:42
|
Bugs item #491551, was opened at 2001-12-11 05:49 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=491551&group_id=2435 Category: binutils Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: make doesn't work. Initial Comment: The Makefile given below works well with Cygwin's make while MinGW shows the following error-message: MinGW_make: *** No rule to make target `make_test.a (make_test.o)', needed by `make_test.a'. Stop. both make.exe are GNU Make Version 3.79.1 Copy of the Makefile: # EXECUTABLE NAME(S) GIVEN BELOW EXEFILE = make_test # TARGETLIBRARY NAME GIVEN BELOW TARGETLIB= make_test.a # OBJECTS GIVEN BELOW OBJMAIN = make_test.o OBJS= $(TARGETLIB)($(OBJMAIN)) #------------------------------------------ $(EXEFILE): $(TARGETLIB) $(AR) -x $(TARGETLIB) $(OBJMAIN) $(CC) -o $@ $(OBJMAIN) $(TARGETLIB) $(RM) $(OBJMAIN) $(TARGETLIB): $(OBJS) @echo library $(TARGETLIB) is now up-to-date ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=491551&group_id=2435 |