?? rules.make
字號:
# clean:
# Both *.o and *.obj files are removed regardless
# of the E_EXT and O_EXT variables...
#
clean:
rm -f *.o *.obj *.a *.lib *.exe
rm -f *.a *.lib depends
ifdef TOOLS
for tool in $(TOOLS) ; \
do \
rm -f $$tool; \
done
else
rm -f $(TOOL) *.exe
endif
$(BIN):
mkdir $(BIN)
# install:
# Copy the final executable tool to $(BIN)
#
install: $(TOOL)$(E_EXT) $(BIN)
ifdef TOOLS
for tool in $(TOOLS) ; \
do \
cp $$tool $(BIN); \
done
else
cp $(TOOL)$(E_EXT) $(BIN)
endif
# depend:
# Generate a 'depends' file...
#
depend:
ifeq ($(O_EXT),.obj)
@if [ ! -f depends ] ;\
then \
for file in $(SRCLIST) ; \
do \
echo $$file dependencies...; \
gcc -MM -I$(COMSRC) $$file | sed "s/\.o/\.obj/" >>depends; \
done \
fi
else
@if [ ! -f depends ] ;\
then \
for file in $(SRCLIST) ; \
do \
echo $$file dependencies...; \
gcc -MM -I$(COMSRC) $$file >>depends; \
done \
fi
endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -