| 1 |
# JAM style makefile for miniXML |
| 2 |
|
| 3 |
#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on |
| 4 |
PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags |
| 5 |
#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags |
| 6 |
PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags |
| 7 |
|
| 8 |
#Products |
| 9 |
Libraries = libmxml ; |
| 10 |
Executables = ; |
| 11 |
Headers = mxml.h ; |
| 12 |
|
| 13 |
#Install |
| 14 |
#InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ; |
| 15 |
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ; |
| 16 |
#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ; |
| 17 |
|
| 18 |
if $(NT) { |
| 19 |
DEFINES += WIN32 ; |
| 20 |
} |
| 21 |
|
| 22 |
# mXML library |
| 23 |
Library libmxml : mxml-attr.c mxml-entity.c mxml-file.c mxml-get.c mxml-index.c |
| 24 |
mxml-node.c mxml-private.c mxml-search.c mxml-set.c mxml-string.c ; |
| 25 |
|
| 26 |
LINKLIBS = libmxml ; |
| 27 |
|
| 28 |
MainsFromSources testmxml.c ; |