###################################################################### # RDOS operating system # Copyright (C) 2000, Leif Ekblad # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. The only exception to this rule # is for commercial usage in embedded systems. For information on # usage in commercial embedded systems, contact embedded@rdos.net # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # The author of this program may be contacted at leif@rdos.net # # MAKEFILE # Makefile for Borland MAKE. # ###################################################################### # DEFINE SYSTEM VERSION version = V1_0 prot_opt = /l/s/3/Twe link_opt = /l/s/3 dll_opt = /l/s/3/Twd # DEFINE GROUPS OF MODULES test_srcs = TEST.ASM test_objs = $(test_srcs:.ASM=.OBJ) test_exes = TEST.EXE srcs = $(test_srcs) objs = $(srcs:.ASM=.OBJ) exes = $(test_exes) maps = $(exes:.EXE=.MAP) cfgs = RDOS.CFG GUIDEMO.CFG ALIBOOT.CFG bins = $(cfgs:.CFG=.BIN) # DEFINE MODULES FOR CMS vaxset_modules = $(srcs) $(incs) $(fonts) $(bats) # DEFINE MODULES FOR SYSTEM VERSION kit_modules = $(maps) $(bats) $(bins) LOAD.EXE GRUBLOAD.EXE #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # DEFAULT RULES #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .asm.obj: tasm /M4 /Zi /w+ICG /w+PRO $<,$@; #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # TARGET #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MAIN: $(bins) TEST.EXE : $(test_objs) tlink @&&! $(prot_opt) + $(test_objs) TEST TEST,,test; ! RDOS.BIN: RDOS.CFG $(rdvs) $(exes) $(dlls) ..\..\kernel\tools\cfg2bin rdos GUIDEMO.BIN: GUIDEMO.CFG $(rdvs) $(exes) $(dlls) ..\..\kernel\tools\cfg2bin guidemo ALIBOOT.BIN: ALIBOOT.CFG $(rdvs) $(exes) $(dlls) ..\..\kernel\tools\boot2bin