34 lines
610 B
Makefile
34 lines
610 B
Makefile
# $Header$
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
|
|
|
|
SRC_DIR = $(SRC_HOME)/mach/6500/dl
|
|
|
|
all: dl
|
|
|
|
dl: dl.$(SUF)
|
|
$(CC) $(LDOPTIONS) -o dl dl.$(SUF) $(OBJLIB)
|
|
|
|
dl.$(SUF): $(SRC_DIR)/dl.c
|
|
$(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/dl.c
|
|
|
|
install: all
|
|
cp dl $(TARGET_HOME)/lib.bin/6500/dl
|
|
|
|
cmp: all
|
|
-cmp dl $(TARGET_HOME)/lib.bin/6500/dl
|
|
|
|
clean:
|
|
rm -f *.(SUF) Out
|
|
|
|
lint:
|
|
$(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/dl.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
|
|
|
|
pr:
|
|
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/dl.c
|
|
|
|
opr:
|
|
make pr | opr
|