mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Add scripts/helper/format-xml.c
This commit is contained in:
parent
12b6d05481
commit
af5861c611
3 changed files with 38 additions and 1 deletions
|
|
@ -1,12 +1,17 @@
|
|||
CFLAGS += -g -Wall -O0 -std=c11
|
||||
LDFLAGS += -fsanitize=address
|
||||
|
||||
PROGS = find-idents
|
||||
PROGS = find-idents format-xml
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
find-idents: find-idents.o
|
||||
$(CC) -o $@ $^
|
||||
|
||||
format-xml: CFLAGS += `pkg-config --cflags libxml-2.0`
|
||||
format-xml: CFLAGS += `pkg-config --libs libxml-2.0`
|
||||
format-xml: format-xml.o
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
clean :
|
||||
$(RM) $(PROGS) *.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue