#
# makefile for the edlib library source directory
# Copyright 1989 Edwin Hoogerbeets
#
# make sure that lb is in your path or make will give you an exec failure
#

#
# add +L to compile ed32.lib, and leave blank for ed.lib
#
CFLAGS=+L +fi

OBJS= bintoint.o dectoint.o getopt.o hextoint.o isbdigit.o \
      iscsym.o iscsymf.o isodigit.o stolower.o stoupper.o \
      strcspn.o strpbrk.o strpos.o strrpos.o strspn.o \
      strtok.o toint.o basename.o stricmp.o strnicmp.o \
      strrpbrk.o strtod.o strdup.o getcwd.o chdir.o \
      filetype.o

test32: test.o ed32.lib
        ln test.o -led32 -lma32 -lc32 -o test32

test: test.o ed.lib
        ln test.o -led -lma -lc -o test

ed32.lib: $(OBJS)
        lb ed32.lib $(OBJS)

ed.lib: $(OBJS)
        lb ed.lib $(OBJS)

clean:
        -shell -c "rm $(OBJS)"

