Initial revision
This commit is contained in:
		
							parent
							
								
									6507aa0a73
								
							
						
					
					
						commit
						ffff65a8d7
					
				
					 6 changed files with 72 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								mach/z80/libm2/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mach/z80/libm2/.distr
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					Makefile
 | 
				
			||||||
 | 
					compmodule
 | 
				
			||||||
							
								
								
									
										30
									
								
								mach/z80/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								mach/z80/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,30 @@
 | 
				
			||||||
 | 
					SUF=o
 | 
				
			||||||
 | 
					EMHOME=../../..
 | 
				
			||||||
 | 
					MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile
 | 
				
			||||||
 | 
					MACHDEF="MACH=z80" "SUF=$(SUF)" "ASAR=aal"
 | 
				
			||||||
 | 
					M2LIB = lang/m2/libm2
 | 
				
			||||||
 | 
					MOD="PREF=m2" "SUB=" "SRC=$(M2LIB)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all:
 | 
				
			||||||
 | 
							make -f $(MAKEFILE) $(MOD) $(MACHDEF) all
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install:	cpmod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cpmod:
 | 
				
			||||||
 | 
							make -f $(MAKEFILE) $(MOD) $(MACHDEF) cp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cmp:		cmpmod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cmpmod:
 | 
				
			||||||
 | 
							make -f $(MAKEFILE) $(MOD) $(MACHDEF) all
 | 
				
			||||||
 | 
							-$(EMHOME)/mach/compare tail_m2
 | 
				
			||||||
 | 
							-$(EMHOME)/mach/compare head_m2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
 | 
							-rm -f *.old *.[ce$(SUF)] tail* head*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					opr:
 | 
				
			||||||
 | 
							make pr | opr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pr:
 | 
				
			||||||
 | 
							@pr Makefile
 | 
				
			||||||
							
								
								
									
										4
									
								
								mach/z80/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								mach/z80/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
 | 
				
			||||||
 | 
					then echo `basename $1 $2`.o
 | 
				
			||||||
 | 
					else exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
							
								
								
									
										2
									
								
								mach/z8000/libm2/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mach/z8000/libm2/.distr
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					Makefile
 | 
				
			||||||
 | 
					compmodule
 | 
				
			||||||
							
								
								
									
										30
									
								
								mach/z8000/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								mach/z8000/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,30 @@
 | 
				
			||||||
 | 
					SUF=o
 | 
				
			||||||
 | 
					EMHOME=../../..
 | 
				
			||||||
 | 
					MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile
 | 
				
			||||||
 | 
					MACHDEF="MACH=z8000" "SUF=$(SUF)" "ASAR=aal"
 | 
				
			||||||
 | 
					M2LIB = lang/m2/libm2
 | 
				
			||||||
 | 
					MOD="PREF=m2" "SUB=" "SRC=$(M2LIB)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all:
 | 
				
			||||||
 | 
							make -f $(MAKEFILE) $(MOD) $(MACHDEF) all
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install:	cpmod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cpmod:
 | 
				
			||||||
 | 
							make -f $(MAKEFILE) $(MOD) $(MACHDEF) cp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cmp:		cmpmod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cmpmod:
 | 
				
			||||||
 | 
							make -f $(MAKEFILE) $(MOD) $(MACHDEF) all
 | 
				
			||||||
 | 
							-$(EMHOME)/mach/compare tail_m2
 | 
				
			||||||
 | 
							-$(EMHOME)/mach/compare head_m2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
 | 
							-rm -f *.old *.[ce$(SUF)] tail* head*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					opr:
 | 
				
			||||||
 | 
							make pr | opr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pr:
 | 
				
			||||||
 | 
							@pr Makefile
 | 
				
			||||||
							
								
								
									
										4
									
								
								mach/z8000/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								mach/z8000/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
 | 
				
			||||||
 | 
					then echo `basename $1 $2`.o
 | 
				
			||||||
 | 
					else exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue