## Makerjlsetup is Makesetup with prefix rjl on ## the directories {src,obj,executables} ## It should work if no changes ore made to schema.sch; ## Schema changes require genv12 to regenerate [rjl?]pr_util ## The posix version of make is /usr/bin/posix/make. .SUFFIXES : .c .C .o .cpp PATHHEAD = include/ PATHSRC = rjlsrc/ PATHOLC = olc/ PATHUTI = pr_util/ ##PATHMAK = olc/ PATHOBJ = rjlobj/ PATHEXE = rjlexecutables/ ##VPATH ##vpath (not defined on saturn, OK on mercury -RJL041130) ##ifdef LinuxArchitecture? vpath %.c rjlsrc:olc:pr_util vpath %.h include:olc:pr_util vpath %.o rjlobj:olc:pr_util ##endif? ## The SHELL global macro is special. By default, make sets SHELL to the path ## name of the shell command interpreter (/bin/sh). You can override this ## default global setting by redefining SHELL ## Conditional macro definition syntax: $(MACRO?string1:string2) ## Local Variables are specific to a certain target. E.g. ## $< Represents either the full name of a source that made a target out- ## of-date (inference rule), or the full name of a target (.DEFAULT rule). ## ## make options: ## -n Displays the commands that would have been executed, but does not actu- ## ally execute them. If the lines have + (plus sign) prefixes, the com- ## mands will be executed. ## ## -p Displays all the macro definitions target and prerequisite descriptions ## including modification times. This information is displayed both ## before and after description file processing has occurred. ## ## .c.o is a double suffix: (how to translate .c to .o) ## -I $(PATHMAK) was deleted because makeHead is in olc now: .c.o .C.o .cpp.o: gcc -DBDELOG -DGENLOG -g -DDEBUG -DNEW_VERSION -DNO_GHOSTVARS -c -I $(PATHHEAD) -I $(PATHOLC) -I $(PATHUTI) -I- -o $(PATHOBJ)$(shell basename $< .c).o $< ## PAassignerSol.o, processevent.o were commented out in OBJS, OBJSS OBJS= LCPsetup.o OBJS+= PAassignerSol.o ##OBJS+= navigate.o OBJS+= HDsetup.o OBJS+= HDaction.o OBJS+= HLsetup.o OBJS+= HLaction.o OBJS+= activeclass.o OBJS+= activeinstance.o OBJS+= eventinstance.o OBJS+= eventtype.o OBJS+= statemodel.o OBJS+= state.o OBJS+= processevent.o OBJS+= transition.o OBJS+= enable.o OBJS+= pr_delete.o OBJS+= pr_dump.o OBJS+= pr_free.o OBJS+= pr_load.o OBJS+= pr_stats.o OBJS+= pr_log.o OBJS+= makeHead.o OBJSS= $(PATHOBJ)LCPsetup.o OBJSS+= $(PATHOBJ)PAassignerSol.o ##OBJSS+= $(PATHOBJ)navigate.o OBJSS+= $(PATHOBJ)HDsetup.o OBJSS+= $(PATHOBJ)HDaction.o OBJSS+= $(PATHOBJ)HLsetup.o OBJSS+= $(PATHOBJ)HLaction.o OBJSS+= $(PATHOBJ)activeclass.o OBJSS+= $(PATHOBJ)activeinstance.o OBJSS+= $(PATHOBJ)eventinstance.o OBJSS+= $(PATHOBJ)eventtype.o OBJSS+= $(PATHOBJ)statemodel.o OBJSS+= $(PATHOBJ)state.o OBJSS+= $(PATHOBJ)processevent.o OBJSS+= $(PATHOBJ)transition.o OBJSS+= $(PATHOBJ)enable.o OBJSS+= $(PATHOBJ)pr_delete.o OBJSS+= $(PATHOBJ)pr_dump.o OBJSS+= $(PATHOBJ)pr_free.o OBJSS+= $(PATHOBJ)pr_load.o OBJSS+= $(PATHOBJ)pr_stats.o OBJSS+= $(PATHOBJ)pr_log.o OBJSS+= $(PATHOBJ)makeHead.o LCPsetup : $(OBJS) gcc -DBDELOG -DGENLOG -ansi -g -DDEBUG -DNEW_VERSION -DNO_GHOSTVARS -o $(PATHEXE)LCPsetup.exe $(OBJSS)