home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-07-09 | 1.9 KB | 87 lines |
- #
- # $PROJECT: c.datatype
- #
- # $VER: Makefile 39.1 (18.03.95)
- #
- # by
- #
- # Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
- #
- # (C) Copyright 1995
- # All Rights Reserved !
- #
- # $DESCRIPTION:
- #
- # If you want to recompile the datatype you have to do some initial work, to
- # run this makefile !
- # First you must have installed the ixemul.library and the gnu make utility !
- # Second you have to set the VERSION,REVISION variables (In my environment it's
- # automatically set). Then you have to install the include makefiles from
- # misc/*.mk to gnu:share/gmk/. After this you need a assign called objs: to
- # hold all object files ! I use also a modified version of the bison.simple
- # file (see in misc/bison.simple) !
- # Now you can run make from this directory !
- #
- # $HISTORY:
- #
- # 18.03.95 : 039.001 : initial
- #
-
- VERSTR = $(VERSION).$(REVISION)
- NAME = c
- SHNAME = cdt
- SHORT = $(NAME).datatype highlights c/c++ keywords etc.
- PLACE = util/dtype
- README = Readme
-
- RELEASE = $(NAME)dt_$(VERSTR).lha
- RELEASEPAT = $(NAME)dt $(NAME)dt.info
-
-
- ##############################################################################
- #
- # just call the makefile in source for each cpu in CPUTOMAKE
- #
-
- CPUTOMAKE = 000 \
- 020 \
- 030 \
- 040
-
- ##############################################################################
- #
- # docs and guides
- #
-
- AUTODOCS = doc/$(NAME)_dtc.doc
- GUIDE = help/$(NAME)_dtc
-
- ##############################################################################
- #
- # source
- #
-
- SRCS = source/dispatch.c
-
-
- all:: cpuversions
-
- cpuversions::
- -@for i in $(CPUTOMAKE); \
- do \
- (cd source; echo "making 68$$i version of $(NAME).datatype"; \
- make LIBSDEST='/Classes/datatypes/$(NAME).datatype.'$$i \
- SCOPTIMIZE='OPT OPTTIME OPTSCHED OPTINLOCAL CPU=68'$$i \
- OBJDIR='/objs/$(SHNAME)/rls'$$i \
- DEBUG='' ) ; \
- done
-
- documentation:: $(AUTODOCS) $(GUIDE)
-
- include /gnu/share/gmk/autodoc.mk
-
- release: $(RELEASE)
-
- include /gnu/share/gmk/release.mk
-
-