mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 07:36:48 +03:00
19 lines
305 B
Makefile
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 $@ $<
|
||
|
|