mirror of
https://github.com/labwc/labwc.git
synced 2025-11-07 13:30:06 -05:00
Add tools/rcxml/rcxml-print-nodenames.c
This commit is contained in:
parent
898d80e04f
commit
91ce33dd0d
4 changed files with 41 additions and 0 deletions
17
tools/rcxml/Makefile
Normal file
17
tools/rcxml/Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
CFLAGS = -g -O0 -Wall -Wextra -std=c11 -pedantic `xml2-config --cflags`
|
||||
CFLAGS += -Wno-unused-parameter
|
||||
CFLAGS += -I../../include
|
||||
ASAN_FLAGS = -O0 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic
|
||||
CFLAGS += $(ASAN_FLAGS)
|
||||
LDFLAGS += $(ASAN_FLAGS) -fuse-ld=gold
|
||||
LDFLAGS = `xml2-config --libs`
|
||||
|
||||
PROGS = rcxml-print-nodenames
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
rcxml-print-nodenames: rcxml-print-nodenames.c
|
||||
$(CC) $(CFLAGS) -o $@ $^ ../../src/config/rcxml.c $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(PROGS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue