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/templatecxx
Normal file
19
emacs/.emacs.d/snippets/makefile-mode/templatecxx
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: templatecxx
|
||||
# key: templatecxx
|
||||
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
|
||||
# --
|
||||
CXX = g++
|
||||
SRC = \$(wildcard *.cpp)
|
||||
OBJ = \$(SRC:.cpp=.o)
|
||||
CFLAGS =
|
||||
RM = rm
|
||||
TARGET = $1
|
||||
|
||||
all: \$(TARGET)
|
||||
|
||||
\$(TARGET): \$(OBJ)
|
||||
\$(CXX) \$(CFLAGS) -o \$@ \$^
|
||||
|
||||
clean:
|
||||
\$(RM) \$(TARGET) \$(OBJ)
|
||||
Reference in New Issue
Block a user