| Line | |
|---|
| 1 | ##################################################################
|
|---|
| 2 | #
|
|---|
| 3 | # makefile
|
|---|
| 4 | #
|
|---|
| 5 | # for the MARS software
|
|---|
| 6 | #
|
|---|
| 7 | ##################################################################
|
|---|
| 8 | # @maintitle
|
|---|
| 9 |
|
|---|
| 10 | # @code
|
|---|
| 11 |
|
|---|
| 12 | #
|
|---|
| 13 | # please change all system depend values in the
|
|---|
| 14 | # config.mk.${OSTYPE} file
|
|---|
| 15 | #
|
|---|
| 16 | #
|
|---|
| 17 | include ../Makefile.conf.$(OSTYPE)
|
|---|
| 18 | include ../Makefile.conf.general
|
|---|
| 19 |
|
|---|
| 20 | # @endcode
|
|---|
| 21 |
|
|---|
| 22 | DEFINES = -DCPU=486 -DBUS_LITTLE_ENDIAN -DDEBUG=0 -DLINUX -DSHOW
|
|---|
| 23 | INCLUDES = -I. -I.. -I../base -I../candrv -I../incl
|
|---|
| 24 |
|
|---|
| 25 | # @code
|
|---|
| 26 |
|
|---|
| 27 | CINT = Devdrv
|
|---|
| 28 | LIB = devdrv.a
|
|---|
| 29 |
|
|---|
| 30 | #------------------------------------------------------------------------------
|
|---|
| 31 |
|
|---|
| 32 | .SUFFIXES: .c .cc .cxx .h .hxx .o
|
|---|
| 33 |
|
|---|
| 34 | SRCFILES = macs.cc \
|
|---|
| 35 | shaftencoder.cc
|
|---|
| 36 |
|
|---|
| 37 | SRCS = $(SRCFILES)
|
|---|
| 38 | HEADERS = $(SRCFILES:.cc=.h)
|
|---|
| 39 | OBJS = $(SRCFILES:.cc=.o)
|
|---|
| 40 |
|
|---|
| 41 | ############################################################
|
|---|
| 42 |
|
|---|
| 43 | all: $(LIB)
|
|---|
| 44 |
|
|---|
| 45 | include ../Makefile.rules
|
|---|
| 46 |
|
|---|
| 47 | clean: rmlib rmcint rmobjs rmcore
|
|---|
| 48 |
|
|---|
| 49 | mrproper: clean rmbak
|
|---|
| 50 |
|
|---|
| 51 | # @endcode
|
|---|
| 52 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.