GNUmakefile
486 Bytes
#!smake
#
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include
GLDOPTS=-L $(ROOT)/host_lib -L $(ROOT)/usr/lib
LLDLIBS = -ldbp -ljtag -lultrahost
LCINCS=-I$(ROOT)/usr/include/PR
LCOPTS=-Wall
VPATH=../gload
OPTIMIZER = -g
TARGETS=mux
CFILES = mux.c server.c
default: $(TARGETS)
include $(PRDEPTH)/PRrules
$(TARGETS): $(OBJECTS)
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
exports install: default
$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)