labwc/scripts/helper/Makefile

18 lines
353 B
Makefile
Raw Normal View History

2023-01-30 21:24:52 +00:00
CFLAGS += -g -Wall -O0 -std=c11
LDFLAGS += -fsanitize=address
2026-02-04 20:42:27 +00:00
PROGS = find-idents format-xml
2023-01-30 21:24:52 +00:00
all: $(PROGS)
find-idents: find-idents.o
$(CC) -o $@ $^
2026-02-04 20:42:27 +00:00
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)
2023-01-30 21:24:52 +00:00
clean :
$(RM) $(PROGS) *.o