?? makefile
字號:
####################################################################### Choose your favorite C compilerCC = gcc####################################################################### -DNDEBUG prevents the assert() statements from being included in # the code. If you are having problems running the code, you might # want to comment this line to see if an assert() statement fires.FLAG1 = -DNDEBUG####################################################################### -DKLT_USE_QSORT forces the code to use the standard qsort() # routine. Otherwise it will use a quicksort routine that takes# advantage of our specific data structure to greatly reduce the# running time on some machines. Uncomment this line if for some# reason you are unhappy with the special routine.# FLAG2 = -DKLT_USE_QSORT####################################################################### Add your favorite C flags here.CFLAGS = $(FLAG1) $(FLAG2)####################################################################### There should be no need to modify anything below this line (but# feel free to if you want).EXAMPLES = example1.c example2.c example3.c example4.c example5.cARCH = convolve.c error.c pnmio.c pyramid.c selectGoodFeatures.c \ storeFeatures.c trackFeatures.c klt.c klt_util.c writeFeatures.cLIB = -L/usr/local/lib -L/usr/lib.SUFFIXES: .c .oall: lib $(EXAMPLES:.c=).c.o: $(CC) -c $(CFLAGS) $<lib: $(ARCH:.c=.o) rm -f libklt.a ar ruv libklt.a $(ARCH:.c=.o) rm -f *.oexample1: libklt.a $(CC) -O3 $(CFLAGS) -o $@ $@.c -L. -lklt $(LIB) -lmexample2: libklt.a $(CC) -O3 $(CFLAGS) -o $@ $@.c -L. -lklt $(LIB) -lmexample3: libklt.a $(CC) -O3 $(CFLAGS) -o $@ $@.c -L. -lklt $(LIB) -lmexample4: libklt.a $(CC) -O3 $(CFLAGS) -o $@ $@.c -L. -lklt $(LIB) -lmexample5: libklt.a $(CC) -O3 $(CFLAGS) -o $@ $@.c -L. -lklt $(LIB) -lmdepend: makedepend $(ARCH) $(EXAMPLES)clean: rm -f *.o *.a $(EXAMPLES:.c=) *.tar *.tar.gz libklt.a
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -