OBJ = ld1.o ld2.o
INCDIR = ../include
#For 1k pages, use the following
CFLAGS = -DDEBUG -DLIBDIR=\"/usr/local/lib/32k/lib\" -I$(INCDIR)
#For 2k pages, use the following
#CFLAGS = -DDEBUG -DNS32532 -I$(INCDIR)
HEADERS = ld.h $(INCDIR)/a.out.h $(INCDIR)/ar.h $(INCDIR)/magic.h \
          $(INCDIR)/conv.h $(INCDIR)/ranlib.h

ld: $(OBJ)
	cc -o ld $(OBJ)

ld1.o: $(HEADERS)

ld2.o: $(HEADERS)
