kolibrios-gitea/contrib/network/netsurf/libhubbub/examples/makefile
Yogev Ezra bb2bbc6b91 Move NetSurf to /contrib folder
git-svn-id: svn://kolibrios.org@4364 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 14:01:21 +00:00

19 lines
305 B
Makefile

CC := gcc
LD := gcc
CFLAGS := `pkg-config --cflags libhubbub` `xml2-config --cflags`
LDFLAGS := `pkg-config --libs libhubbub` `xml2-config --libs`
SRC := libxml.c
libxml: $(SRC:.c=.o)
@$(LD) -o $@ $^ $(LDFLAGS)
.PHONY: clean
clean:
$(RM) libxml $(SRC:.c=.o)
%.o: %.c
@$(CC) -c $(CFLAGS) -o $@ $<