#include <Library.tmpl>

SRCS = error.c file.c flex.c ipc.c list.c math.c mem.c str.c sys.c time.c tree.c
OBJS = $(SRCS:.c=.o)

INCLUDES = -I..

#ifdef HPArchitecture
  CDEBUGFLAGS = AnsiDefines
#endif
#if defined(SparcArchitecture) || defined(LinuxArchitecture)
  CC = gcc
  CDEBUGFLAGS = -g -Wall
#endif
#ifdef UltrixArchitecture
  EXTRA_DEFINES = -Dconst
#endif

LibraryObjectRule()
NormalLibraryTarget(misc,$(OBJS))
DependTarget()
LintTarget()
