makefile
来自「RefBox」· 代码 · 共 47 行
TXT
47 行
## /* LICENSE: =========================================================================# RoboCup MSL Referee Box Source Code Release# -------------------------------------------------------------------------# Copyright (C) 2004 RoboCup Federation# -------------------------------------------------------------------------# This software is distributed under the GNU General Public License,# version 2. If you do not have a copy of this licence, visit# www.gnu.org, or write: Free Software Foundation, 59 Temple Place,# Suite 330 Boston, MA 02111-1307 USA. This program is distributed# in the hope that it will be useful, but WITHOUT ANY WARRANTY,# including MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.# ------------------------------------------------------------------------- # # */#CC=g++CFLAGS = -g `gtk-config --cflags` LIBS += -lpthread `gtk-config --libs` -lgdk_pixbufLDFLAGS=SRCS= main.cc gamecontrol.cc serial.cc tcpc_server.ccOBJS= $(SRCS:.cc=.o) \%.o: %.cc $(CC) -c $(CFLAGS) $(DEFS) -o $@ $<.%.dep: %.cc @echo "Generating dependencies for: " $< @$(CC) -M $(CFLAGS) $< > $@.tmp @echo -n "$@ " >$@ @cat $@.tmp >>$@ @rm $@.tmpall::refereeclean:: rm -f *~ *.o rm -f refereereferee: $(OBJS) $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LIBS)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?