# JAM style makefile for miniXML #PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags #PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags #Products Libraries = libmxml ; Executables = ; Headers = mxml.h ; #Install #InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ; #InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ; #InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ; if $(NT) { DEFINES += WIN32 ; } # mXML library Library libmxml : mxml-attr.c mxml-entity.c mxml-file.c mxml-get.c mxml-index.c mxml-node.c mxml-private.c mxml-search.c mxml-set.c mxml-string.c ; LINKLIBS = libmxml ; MainsFromSources testmxml.c ;