mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 21:05:40 +02:00
bar: move C file to subdirectory
This commit is contained in:
parent
f5aebc07ef
commit
aa21991323
2 changed files with 5 additions and 4 deletions
|
@ -31,7 +31,6 @@ pkg_check_modules(CAIRO REQUIRED cairo cairo-xcb cairo-ft)
|
||||||
pkg_check_modules(YAML REQUIRED yaml-0.1)
|
pkg_check_modules(YAML REQUIRED yaml-0.1)
|
||||||
|
|
||||||
add_executable(f00bar
|
add_executable(f00bar
|
||||||
bar.c bar.h
|
|
||||||
config.c config.h
|
config.c config.h
|
||||||
config-verify.c config-verify.h
|
config-verify.c config-verify.h
|
||||||
decoration.h
|
decoration.h
|
||||||
|
@ -44,6 +43,8 @@ add_executable(f00bar
|
||||||
tag.c tag.h
|
tag.c tag.h
|
||||||
xcb.c xcb.h
|
xcb.c xcb.h
|
||||||
yml.c yml.h
|
yml.c yml.h
|
||||||
|
|
||||||
|
bar/bar.c bar.h
|
||||||
)
|
)
|
||||||
|
|
||||||
# Make global symbols in f00bar visible to dlopen:ed plugins
|
# Make global symbols in f00bar visible to dlopen:ed plugins
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "bar.h"
|
#include "../bar.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
#define LOG_MODULE "bar"
|
#define LOG_MODULE "bar"
|
||||||
#define LOG_ENABLE_DBG 0
|
#define LOG_ENABLE_DBG 0
|
||||||
#include "log.h"
|
#include "../log.h"
|
||||||
#include "xcb.h"
|
#include "../xcb.h"
|
||||||
|
|
||||||
struct private {
|
struct private {
|
||||||
/* From bar_config */
|
/* From bar_config */
|
Loading…
Add table
Reference in a new issue