GNUmakefile
506 Bytes
#!smake
#
# Makefile for kernel debugger
#
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include
GLDOPTS=-L $(ROOT)/host_lib -L $(ROOT)/usr/lib
LCINCS=-I$(ROOT)/usr/include/PR
OPTIMIZER = -g
TARGETS=kdebug
CFILES = kdebug.c
LCINCS = -I. -I$(PRDEPTH)/include
LCOPTS = -Wall
default: $(TARGETS)
include $(COMMONRULES)
kdebug: $(OBJECTS)
$(CCF) $(OBJECTS) $(LDFLAGS) -o $@ -lultrahost
exports install: default
$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)