Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Marty
Wed, 13 Dec 1989 16:21
problem with make 3.57
Author: Marty
Date: Wed, 13 Dec 1989 16:21
Date: Wed, 13 Dec 1989 16:21
60 lines
1775 bytes
1775 bytes
I have a makefile that runs on the Make on sunOS 4 but won't run under GNU Make. I don't use old style suffix rules and don't really understand what's wrong. LIBS = -lsuntool -lsunwindow -lpixrect -l$(SUNVIEW_PLUS) OFILES = events.o images.o keymap.o primitives.o startup.o tie.o window.o HFILES = ice.h MANPAGE = ice.$(MANEXT) .SUFFIXES: .c .o .manpage .$(MANEXT) .c.o: $(HFILES) $(CC) -c $(OGFLAG) -I$(INCLUDE_DIR) $< .manpage.$(MANEXT): cp $*.manpage $(MANDIR)/$*.$(MANEXT) ice: $(HFILES) compile @echo "ice compiled" compile: $(OFILES) $(CC) $(OFILES) $(LIBS) $(CFLAGS) $(OGFLAG) -o ice -L$(LIBDIR) Running gmake I get: mlsun% make make: *** No way to make target `events.o'. Stop. Running /bin/make I get: mlsun% /bin/make -n cc -c -I events.c cc -c -I images.c cc -c -I keymap.c cc -c -I primitives.c cc -c -I startup.c cc -c -I tie.c cc -c -I window.c cc events.o images.o keymap.o primitives.o startup.o tie.o window.o -lsuntool -l sunwindow -lpixrect -l -o ice -L echo "ice compiled" I solved the problem by erasing the suffix rules, having CFLAGS= $(OGFLAT) -I$(INCLUDE_DIR) and letting the built in rules go to work. But there appears to be a problem. marty ARPA: leisner.henr@xerox.com GV: leisner.henr NS: leisner:wbst139:xerox UUCP: hplabs!arisia!leisner
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads