aboutsummaryrefslogtreecommitdiffhomepage
path: root/maker.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-10-21 22:39:45 -0400
committerRalph Amissah <ralph@amissah.com>2015-10-21 22:39:45 -0400
commitd2c383e706b45f8d8905b500ceaf7250dfef28ac (patch)
tree736cc23008f4f8abd99f5dfcdd6c60eae6244de1 /maker.org
parentmaker.org tangle (diff)
make gitsnapshot
Diffstat (limited to 'maker.org')
-rw-r--r--maker.org19
1 files changed, 9 insertions, 10 deletions
diff --git a/maker.org b/maker.org
index 2da61e5..070b6a6 100644
--- a/maker.org
+++ b/maker.org
@@ -13,7 +13,7 @@
* makefile :makefile:
** settings [+2]
-*** alternative compilers [+1]
+*** alternative D compilers [+1]
**** dmd
#+name: makefile
#+BEGIN_SRC makefile :exports none
@@ -42,8 +42,7 @@ GDC_FLAGS_RELEASE=-frelease
GDC_FLAG_BINOF=-o
#+end_src
-*** set/select: ~compiler~ & ~debug flags~ [+1] [2/2]
-Set flags:
+*** set/select: ~D compiler~ & ~debug flags~ [+1] [2/2]
- [X] Set D_COMPILER (one of DMD LDC or GDC)
- [X] Set debug flags (using DMD standard flag -debug=)
**** SET compiler: "SET_D_COMPILER=":
@@ -63,7 +62,7 @@ Set debug flags using DMD standard flag -debug= e.g.:
SET_DC_FLAGS_DEBUG_EXTRA=-debug=headings -debug=bookindex
#+end_src
-*** compiler settings [+1]
+*** D compiler settings [+1]
**** compiler settings
#+name: makefile
#+BEGIN_SRC makefile :exports none
@@ -76,7 +75,7 @@ DC_FLAGS_DEBUG_SET=\
$(shell echo $(DC_FLAGS_DEBUG_DEFAULT_SET) $(SET_DC_FLAGS_DEBUG_EXTRA))
#+end_src
-**** compiler conditional settings
+**** compiler conditional settings (depending on selected D compiler)
#+name: makefile
#+BEGIN_SRC makefile :exports none
ifeq ($(DC), $(DMD))
@@ -90,7 +89,7 @@ ifeq ($(DC), $(GDC))
endif
#+end_src
-*** program name
+*** Project Details
#+name: makefile
#+BEGIN_SRC makefile :exports none
PRG_NAME=sdp
@@ -100,7 +99,7 @@ PRG_BIN=$(PRG_NAME)
PRG_BINDIR=bin
#+end_src
-*** emacs org settings
+*** Emacs Org settings
#+name: makefile
#+BEGIN_SRC makefile :exports none
# ORG
@@ -112,7 +111,7 @@ ORGFILES=""
ORGDIR=$(shell echo `pwd`)
#+end_src
-** make commands [+2]
+** "make" commands [+2]
*** build commands [+1]
**** build rebuild
#+name: makefile
@@ -181,7 +180,7 @@ distclean_and_init: init $(PRG_BINDIR) expunge
mkdir -p $(PRG_BINDIR);
#+end_src
-*** org babel tangle batch process command
+*** Org Babel Tangle batch process command
#+name: makefile
#+BEGIN_SRC makefile :exports none
tangle:
@@ -204,7 +203,7 @@ tangle:
(kill-buffer)) '($$ORGFILES)))" 2>&1
#+end_src
-*** git snapshot
+*** Git snapshot
#+name: makefile
#+BEGIN_SRC makefile :exports none
gitsnapshot: distclean_and_init tangle