⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 snake算法
💻
字号:
# MAKE FILE for GSNAKE API

# Change the following line to reflect where your X11-include directory
X11Include  	= /usr/openwin/include

CC 		= g++ -I$(X11Include) 
LIBSOURCE 	= ../lib

SOURCES	=  image.c matrix.c edge.c pyramid.c snaxel.c contour.c gsnake.c \
	  ghough.c dymprog.c learn.c class.c random.c xwindow.c
OBJECTS = $(SOURCES:.c=.o)

$(LIBSOURCE)/libgsnake.a : $(OBJECTS)	  
	ar ru $@ $(OBJECTS)

#if you are not running SUN OS version 4.X or below, comment the following 
#line
	ranlib $@

image.o		: image.c gsnake.h
matrix.o	: matrix.c gsnake.h
edge.o		: edge.c gsnake.h 
pyramid.o	: pyramid.c gsnake.h
snaxel.o	: snaxel.c gsnake.h 
contour.o	: contour.c gsnake.h 
gsnake.o	: gsnake.c gsnake.h 
ghough.o	: ghough.c gsnake.h 
dymprog.o 	: dymprog.c gsnake.h 
learn.o 	: learn.c gsnake.h 
class.o		: class.c gsnake.h 
random.o 	: random.c random.h gsnake.h 
xwindow.o 	: xwindow.c xwindow.h gsnake.h 


clean :
	\rm -f $(OBJECTS)
	make

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -