📄 makefile
字号:
## /* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -