################################################################## # # makefile # # for the MARS software # ################################################################## # @maintitle # @code # # please change all system depend values in the # config.mk.${OSTYPE} file # # include ../Makefile.conf.$(OSTYPE) include ../Makefile.conf.general # @endcode DEFINES = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -DSHOW INCLUDES = -I. -I.. -I../base -I../candrv -I../incl # @code CINT = Devdrv LIB = devdrv.a #------------------------------------------------------------------------------ .SUFFIXES: .c .cc .cxx .h .hxx .o SRCFILES = shaftencoder.cc macs.cc SRCS = $(SRCFILES) HEADERS = $(SRCFILES:.cc=.h) OBJS = $(SRCFILES:.cc=.o) CINTHEADERS = $(HEADERS) ############################################################ all: $(LIB) include ../Makefile.rules clean: rmlib rmcint rmobjs rmcore mrproper: clean rmbak # @endcode