about summary refs log tree commit diff stats
path: root/config.mk
blob: 0a86a54cddc7d0ca8e8521ad385a5f5f339fd4db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# dwm version
VERSION = 1.4

# Customize below to fit your system

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man

X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib

# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11

# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}

# compiler and linker
CC = cc
LD = ${CC}
b.com/akkartik/mu ;;; Commentary: ;; I don't know how to define new faces in an emacs package, so I'm ;; cannibalizing existing faces. ;; ;; I load this file like so in my .emacs: ;; (load "/absolute/path/to/subx.el") ;; (add-to-list 'auto-mode-alist '("\\.subx" . subx-mode)) ;; ;; Education on the right way to do this most appreciated. (setq subx-font-lock-keywords '( ; tests ("^test-[^ ]*:" . font-lock-type-face) ; functions ("^[a-z][^ ]*:" . font-lock-function-name-face) ; globals ("^[A-Z][^ ]*:" . font-lock-variable-name-face) ; minor labels ("^[^a-zA-Z#( ][^ ]*:" . font-lock-doc-face) ; string literals ; ("\"[^\"]*\"" . font-lock-constant-face) ; strings colorized already, albeit buggily ; 4 colors for comments; ugly but functional ("# \\. \\. .*" . font-lock-doc-face) ("# \\. .*" . font-lock-constant-face) ("# - .*" . font-lock-comment-face) ("#.*" . font-lock-preprocessor-face) )) (define-derived-mode subx-mode fundamental-mode "subx mode" "Major mode for editing SubX (Mu project)" (setq font-lock-defaults '((subx-font-lock-keywords))) ) (provide 'subx-mode)