nanogui: Thread: as making .depend files


[<<] [<] Page 1 of 1 [>] [>>]
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 $@'
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.