Show only active .c.o commands; clean up temp file from make depend
This commit is contained in:
@@ -454,10 +454,12 @@ QUIETCC=0
|
|||||||
# Rule /=/ allows 2 definitions of char array brief_feeling
|
# Rule /=/ allows 2 definitions of char array brief_feeling
|
||||||
# fi
|
# fi
|
||||||
$(TARGETPFX)%.o : %.c
|
$(TARGETPFX)%.o : %.c
|
||||||
if [ x$(NOSTATICCORE) = 'x' ]; then \
|
@if [ x$(NOSTATICCORE) = 'x' ]; then \
|
||||||
|
echo $(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ $< ; \
|
||||||
$(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ $< ; \
|
$(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ $< ; \
|
||||||
else \
|
else \
|
||||||
( \
|
( \
|
||||||
|
echo "Generating " intermediate file .$< ; \
|
||||||
$(AWK) ' \
|
$(AWK) ' \
|
||||||
BEGIN{print "#line 1 \"$<\""}; \
|
BEGIN{print "#line 1 \"$<\""}; \
|
||||||
/=/{print;next}; \
|
/=/{print;next}; \
|
||||||
@@ -465,6 +467,7 @@ $(TARGETPFX)%.o : %.c
|
|||||||
sub(/^static( |$$)/, ""){print;next}; \
|
sub(/^static( |$$)/, ""){print;next}; \
|
||||||
{print}; \
|
{print}; \
|
||||||
' < $< > .$< && \
|
' < $< > .$< && \
|
||||||
|
echo $(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ .$< ; \
|
||||||
$(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ .$< ; \
|
$(TARGET_CC) $(TARGET_CFLAGS) -c -o $@ .$< ; \
|
||||||
) \
|
) \
|
||||||
fi
|
fi
|
||||||
@@ -833,7 +836,7 @@ updatedepend: updatedepend-setup
|
|||||||
cp Makefile.src ../../src && \
|
cp Makefile.src ../../src && \
|
||||||
make -C ../../src MAKEFILE_NAME=Makefile.src -f Makefile.src depend2 && \
|
make -C ../../src MAKEFILE_NAME=Makefile.src -f Makefile.src depend2 && \
|
||||||
mv ../../src/Makefile.src .
|
mv ../../src/Makefile.src .
|
||||||
@rm -f ../$(HACK_H)
|
@rm -f ../$(HACK_H) ../../include/nhlua.h
|
||||||
|
|
||||||
# check pwd, create bogus derived files
|
# check pwd, create bogus derived files
|
||||||
updatedepend-setup:
|
updatedepend-setup:
|
||||||
@@ -860,6 +863,8 @@ MAKEFILE_NAME=Makefile
|
|||||||
depend: ../sys/unix/depend.awk \
|
depend: ../sys/unix/depend.awk \
|
||||||
$(SYSCSRC) $(WINCSRC) $(SYSCXXSRC) $(WINCXXSRC) \
|
$(SYSCSRC) $(WINCSRC) $(SYSCXXSRC) $(WINCXXSRC) \
|
||||||
$(CHAINSRC) $(GENCSRC) $(HACKCSRC)
|
$(CHAINSRC) $(GENCSRC) $(HACKCSRC)
|
||||||
|
$(MAKE) depend2
|
||||||
|
|
||||||
depend2: $(WINQTMOC)
|
depend2: $(WINQTMOC)
|
||||||
$(AWK) -f ../sys/unix/depend.awk ../include/*.h ../win/*/*.h \
|
$(AWK) -f ../sys/unix/depend.awk ../include/*.h ../win/*/*.h \
|
||||||
$(SYSCSRC) $(WINCSRC) $(SYSCXXSRC) $(WINCXXSRC) \
|
$(SYSCSRC) $(WINCSRC) $(SYSCXXSRC) $(WINCXXSRC) \
|
||||||
|
|||||||
Reference in New Issue
Block a user