Added screenshot filenamesEmacs:- Added yasnippet- Added company- Added flycheck- Added htmlize for reveal.js- Changed tabbing- Fixed org-insert-structure-template shortcut- display line numbers in c/cpp-mode
This commit is contained in:
19
emacs/.emacs.d/snippets/makefile-mode/templatec
Normal file
19
emacs/.emacs.d/snippets/makefile-mode/templatec
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: templatec
|
||||
# key: templatec
|
||||
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
|
||||
# --
|
||||
CC = gcc
|
||||
SRC = \$(wildcard *.c)
|
||||
OBJ = \$(SRC:.c=.o)
|
||||
CFLAGS =
|
||||
RM = rm
|
||||
TARGET = $1
|
||||
|
||||
all: \$(TARGET)
|
||||
|
||||
\$(TARGET): \$(OBJ)
|
||||
\$(CC) \$(CFLAGS) -o \$@ \$^
|
||||
|
||||
clean:
|
||||
\$(RM) \$(TARGET) \$(OBJ)
|
||||
Reference in New Issue
Block a user