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

📄 makefile

📁 Supervised Image Segmentation Using Markov Random Fields
💻
字号:
#/******************************************************************# * Modul name : makefile# * Author     : Zoltan Kato# * Description:# * Make file for making MRFdemo# * make all             = compilation + installation + clean.# * make compile         = compilation.# * make install         = compilation + installation.# * make clean           = clean.# * ## Adapted from the wxwindows sample makefile written by Robert Roebling. ## This makefile requires a Unix version of wxWindows# to be installed on your system. This is most often# done typing "make install" when using the complete# sources of wxWindows or by installing the two# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm# under Linux.### * $Id: makefile,v 1.2 2005/01/13 11:15:53 kato Exp $# * $Revision: 1.2 $# * $State: Exp $# * $Log: makefile,v $# * Revision 1.2  2005/01/13 11:15:53  kato# * updated for new directory structure# *# * Revision 1.1  2004/12/08 13:15:24  kato# * Initial revision# *# *****************************************************************/## dirs, flags & libs#INCLUDE=$(HOME)/includeLIBPATH=$(HOME)/lib-$(ARCH)INSTALLDIR=$(HOME)/bin-$(ARCH)MANDIR=$(HOME)/manCFLAGS= `wx-config --cflags` -D$(OS) -I$(INCLUDE) -ansi -D__USE_FIXED_PROTOTYPES__LDFLAGS= -L$(LIBPATH) `wx-config --libs`LIBS= -lmifeq ($(OS),SunOS)LIBS=$(LIBS) -libertyendifVPATH= ../src## Source files:#CFILES= $(wildcard ../src/*.cpp)## Target files#OBJECTS=$(subst ../src/,./,$(CFILES:.cpp=.o))TARGETS= mrfdemo## Suffixes#.SUFFIXES: .cpp.o.cpp.o:	; echo 'Compiling $*.cpp'; gcc  $(CFLAGS) -c $^## Rules#.SILENT:all: install clean$(TARGETS) : $(OBJECTS)	echo 'Building $@'	gcc -o $@ $^ $(LDFLAGS) $(LIBS)compile: $(TARGETS)clean:	echo 'Cleaning up'	/bin/rm -f $(OBJECTS)	/bin/rm -f $(TARGETS)install: compile	echo 'Installing $(TARGETS) in $(INSTALLDIR)/'	cp $(TARGETS) $(INSTALLDIR)

⌨️ 快捷键说明

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