nanogui: as making .depend files


Previous by date: 30 Aug 2004 14:27:02 +0100 Another thread question, Andy Jorde
Next by date: 30 Aug 2004 14:27:02 +0100 learning microwindows, tian tao
Previous in thread:
Next in thread:

Subject: as making .depend files
From: "Kao" ####@####.####
Date: 30 Aug 2004 14:27:02 +0100
Message-Id: <006c01c48e94$f27a45a0$b61e17ac@MilkM>

I compiled Microwindows on X86-Linux with PA-RISC tool chain.  As I made .depend files, I think that it is better to use $(CC) instead of $(HOSTCC).

Makefile.rules:
.depend: $(OBJS:.o=.c) $(CXXOBJS:.o=.cc)
 @echo "Updating dependencies in $(CURDIR) ..."
 $(SHELL) -ec '$(CC) -MM $(CPPFLAGS) $(CFLAGS) $(OBJS:.o=.c) \
 | sed '\''s/\($*\)\.o[ :]*/\1.o \$@ : $$(TOP)\/config /g'\'' > $@; \
 [ -s $@ ] || rm -f $@'

Previous by date: 30 Aug 2004 14:27:02 +0100 Another thread question, Andy Jorde
Next by date: 30 Aug 2004 14:27:02 +0100 learning microwindows, tian tao
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.