mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
include/: refactor header files
This commit is contained in:
parent
82dc192217
commit
53266a0d5a
8 changed files with 27 additions and 14 deletions
|
|
@ -9,11 +9,18 @@ LDFLAGS += `xml2-config --libs`
|
|||
LDFLAGS += `pkg-config --cflags --libs glib-2.0 wayland-server xkbcommon`
|
||||
|
||||
PROGS = rcxml-print-nodenames
|
||||
SRC = \
|
||||
rcxml-print-nodenames.c \
|
||||
../../src/config/rcxml.c \
|
||||
../../src/config/config-dir.c \
|
||||
../../src/common/buf.c \
|
||||
../../src/config/keybind.c
|
||||
|
||||
|
||||
all: $(PROGS)
|
||||
|
||||
rcxml-print-nodenames: rcxml-print-nodenames.c
|
||||
$(CC) $(CFLAGS) -o $@ $^ ../../src/config/rcxml.c ../../src/common/buf.c ../../src/config/keybind.c $(LDFLAGS)
|
||||
rcxml-print-nodenames: $(SRC)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(PROGS)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "rcxml.h"
|
||||
#include "buf.h"
|
||||
#include "common/buf.h"
|
||||
|
||||
struct rcxml rc = { 0 };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue