asm-test/tools/Makefile

21 lines
407 B
Makefile

CFLAGS = -Wall -Wextra -Werror -Wno-unused-parameter -pedantic -ggdb
CFLAGS += $(shell pkg-config --cflags freetype2)
#CFLAGS += $(shell pkg-config --cflags libutf8proc)
LDFLAGS = $(shell pkg-config --libs freetype2)
#LDFLAGS = $(shell pkg-config --libs libutf8proc)
all: otb-convert
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
%: %.o
$(CC) $< -o $@
otb-convert: %.o
$(CC) $(LDFLAGS) $< -o $@
.SUFFIXES: