 Copy/clone this repository with:

git clone git://turkos.aspodata.se/c.git

///

Sample makefile using stdvar.mk and std.mk:

--------
VERSION := 1.0.1
PREFIX  := /usr/local

include ../Make_var.mk
# if you don't like the CFLAGS defined, comment away this include
include ../Make_flg.mk
# here you can unset or add to CFLAGS ..., like
CFLAGS  := 
LDFLAGS := -lm -L/usr/local/lib/mysql -lmysqlclient
include ../Make_tgt.mk
--------

Make_tgt.mk provides targets:
 all : for the final binary or library
 tag : to make it easy to tag the source to the current NAME and VERSION
       version.[ch] are also made so one can use/see the version string in the binary/library
 dep : to sort out the dependencies between .c and .h files, depend.mk will be created to that end
 plus the usual clean and install

Make_*.mk files assumes:

   one end target binary named $(NAME), where NAME = current directory name
 or
   one end target shared object library named lib$(NAME).so.$(VERSION), where lib$(NAME) = curr.dir.name

   all *.[ch] files are meaningfull for the end target
   for a lib target, $(NAME).h is the only h-file needed to be installed

Test program (with names like Test*.[ch]) are not built by default.
DontCompile* are never compiled, can be used as scratchpads.
