config.mk tools
This commit is contained in:
@@ -7,8 +7,8 @@ proto:
|
||||
$(WAYLAND_SCANNER) server-header ./protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h
|
||||
|
||||
compile: proto
|
||||
cc -o absinthe src/* $(CFLAGS) $(LDFLAGS)
|
||||
$(CC) -o absinthe src/* $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
format:
|
||||
find src/ -type f -print0 | xargs -0 clang-format -i
|
||||
find include/ -type f -print0 | xargs -0 clang-format -i
|
||||
find src/ -type f | xargs $(CLANG_FORMAT) -i
|
||||
find include/ -type f | xargs $(CLANG_FORMAT) -i
|
||||
|
||||
+5
-5
@@ -21,12 +21,12 @@
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#endif
|
||||
|
||||
#define BTN_LEFT 0x110
|
||||
#define BTN_RIGHT 0x111
|
||||
#define BTN_MIDDLE 0x112
|
||||
#define BTN_LEFT 0x110
|
||||
#define BTN_RIGHT 0x111
|
||||
#define BTN_MIDDLE 0x112
|
||||
|
||||
#define MAX(A, B) (A) > (B) ? (A) : (B)
|
||||
#define MIN(A, B) (A) < (B) ? (A) : (B)
|
||||
#define MAX(A, B) (A) > (B) ? (A) : (B)
|
||||
#define MIN(A, B) (A) < (B) ? (A) : (B)
|
||||
/* macro for adding listener for event */
|
||||
#define LISTEN(L, C, E) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user