bb2bbc6b91
git-svn-id: svn://kolibrios.org@4364 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
448 B
Makefile
18 lines
448 B
Makefile
all: libxml2 hubbub
|
|
|
|
CC = gcc
|
|
CFLAGS = -W -Wall --std=c99
|
|
|
|
LIBXML2_OBJS = libxml2.o
|
|
libxml2: libxml2.c
|
|
libxml2: CFLAGS += `pkg-config libxml-2.0 --cflags`
|
|
libxml2: $(LIBXML2_OBJS)
|
|
gcc -o libxml2 $(LIBXML2_OBJS) `pkg-config libxml-2.0 --libs`
|
|
|
|
|
|
HUBBUB_OBJS = hubbub.o
|
|
hubbub: hubbub.c
|
|
hubbub: CFLAGS += `pkg-config --cflags libparserutils libhubbub`
|
|
hubbub: $(HUBBUB_OBJS)
|
|
gcc -o hubbub $(HUBBUB_OBJS) `pkg-config --libs libhubbub libparserutils`
|