Makefile
475 Bytes
#
# Makefile for UNIX level program that accesses game controller
#
include $(ROOT)/usr/include/make/commondefs
OPTIMIZER = -g
TARGETS=controller
LCOPTS =-fullwarn
LCINCS =-I. -I$(ROOT)/usr/include/PR
CFILES=controller.c gamepad.c
default: $(TARGETS)
include $(COMMONRULES)
controller: $(OBJECTS)
$(CCF) $(OBJECTS) $(LDFLAGS) -o $@
exports install: default
$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)
$(INSTALL) -m 444 -F /usr/src/PR/controller Makefile $(CFILES)