Makefile lib

From Attie's Wiki
Revision as of 11:16, 23 January 2012 by Attie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This makefile has been built in 2 halves. 'makfile.generic' which contains things you should change, and 'makefile' which contains thing that can probably be left unchanged.

makefile.generic

### libxbee configuration options:
 
### system install directories
SYS_LIBDIR:=    /usr/lib
SYS_INCDIR:=    /usr/include
 
### setup a cross-compile toolchain (either here, or in the environment)
#CROSS_COMPILE:=
 
### add build 'OPTIONS', these will be passed as -D<name> to gcc etc
 
### example from libxbee: un-comment to remove ALL logging (smaller & faster binary)
#OPTIONS+=       XBEE_DISABLE_LOGGING
 
################################################################################
### Do NOT change below this line
 
LIBMAJ:=        1
LIBMIN:=        0
LIBREV:=        0
 
LIBOUT:=        libmylib
 
LIBS:=          pthread
 
SRCS:=          mylib
 
SYS_HEADERS:=   mylib.h
RELEASE_FILES:= HISTORY
 
VER_DEFINES:=   -DLIB_REVISION="\"$(LIBFULLREV)\""                             \
                -DLIB_COMMIT="\"$(shell git log -1 --format="%H")\""           \
                -DLIB_COMMITTER="\"$(shell git log -1 --format="%cn <%ce>")\"" \
                -DLIB_BUILDTIME="\"$(shell date)\""

makefile

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, bash, basic4gl, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, lotusformulas, lotusscript, lua, m68k, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, per, perl, php, php-brief, plsql, powershell, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox