- no functional changes - this is another step towards refactoring the recognition algorithm - this is another step towards factoring out the image access routines to ultimately replace Imlib2 by something else (e.g. gd)
19 lines
461 B
Makefile
19 lines
461 B
Makefile
CFLAGS := -Wall -W -pedantic -Werror -pedantic-errors $(shell imlib2-config --cflags) -O6
|
|
LDFLAGS := $(shell imlib2-config --libs) -lm
|
|
PREFIX := /usr/local
|
|
BINDIR := $(PREFIX)/bin
|
|
|
|
all: ssocr
|
|
|
|
ssocr: ssocr.o imgproc.o help.o
|
|
|
|
ssocr.o: ssocr.c ssocr.h defines.h imgproc.h help.h
|
|
imgproc.o: imgproc.c defines.h imgproc.h help.h
|
|
help.o: help.c defines.h imgproc.h help.h
|
|
|
|
install:
|
|
install -s -m 0755 ssocr $(BINDIR)/ssocr
|
|
|
|
clean:
|
|
$(RM) ssocr *.o *~ testbild.png
|