CCDEBUG   = debug=l # def DEBUG=5
LNDEBUG   = debug.o
DEBUGLIBS = # lib lib:debug.lib # lib:ddebug.lib
OPT       = noopt


all: datetestlib

# -----------------------------------------------------------------------------

datetestlib: datetest.c $(LNDEBUG)
	sc $(OPT) strict ansi commentnest noicons math=standard \
	strmer memsize=huge def=LIBTEST $(CCDEBUG) \
	pname=datetestlib link datetest.c $(LNDEBUG) $(DEBUGLIBS)

debug.o: debug.c debug.h system.h
	sc $(OPT) strict ansi commentnest noicons nolink memsize=huge \
	math=standard data=near strmer idir=/ $(CCDEBUG) \
	objname=debug.o debug.c $(CCDEBUG)

# -----------------------------------------------------------------------------

clean:
	delete \#?.o \#?.lnk datetestlib
