corrected Makefiles
This commit is contained in:
		
							parent
							
								
									e4424a38c5
								
							
						
					
					
						commit
						75d52f0a3e
					
				
					 2 changed files with 18 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -148,7 +148,7 @@ cmp:	Main
 | 
			
		|||
	-cmp $(CURRDIR)/cemcom.1 $(EMHOME)/man/em_cemcom.6
 | 
			
		||||
 | 
			
		||||
pr:
 | 
			
		||||
	@pr makefile make.* tab.c char.tab Parameters $(HSRC) $(STRSRC) $(LSRC) $(CSRC)
 | 
			
		||||
	@pr Makefile make.* tab.c char.tab Parameters $(HSRC) $(STRSRC) $(LSRC) $(CSRC)
 | 
			
		||||
 | 
			
		||||
opr:
 | 
			
		||||
	make pr | opr
 | 
			
		||||
| 
						 | 
				
			
			@ -167,7 +167,7 @@ longnames:	$(SRC) $(HFILES)
 | 
			
		|||
 | 
			
		||||
# entry points not to be used directly
 | 
			
		||||
 | 
			
		||||
Cfiles:	hfiles LLfiles $(GENCFILES) $(GSRC) $(GHSRC) makefile
 | 
			
		||||
Cfiles:	hfiles LLfiles $(GENCFILES) $(GSRC) $(GHSRC) Makefile
 | 
			
		||||
	echo $(SRC) $(HFILES) > Cfiles
 | 
			
		||||
 | 
			
		||||
hfiles: ./make.hfiles Parameters
 | 
			
		||||
| 
						 | 
				
			
			@ -210,27 +210,27 @@ estack.h:	make.allocd
 | 
			
		|||
util.h:		make.allocd
 | 
			
		||||
 | 
			
		||||
depend:	Cfiles
 | 
			
		||||
	sed '/^#AUTOAUTO/,$$d' makefile >makefile.new
 | 
			
		||||
	echo '#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO' >>makefile.new
 | 
			
		||||
	$(MKDEP) $(SRC) | sed 's/\.c:/.o:/' >>makefile.new
 | 
			
		||||
	mv makefile makefile.old
 | 
			
		||||
	mv makefile.new makefile
 | 
			
		||||
	sed '/^#AUTOAUTO/,$$d' Makefile >Makefile.new
 | 
			
		||||
	echo '#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO' >>Makefile.new
 | 
			
		||||
	$(MKDEP) $(SRC) | sed 's/\.c:/.o:/' >>Makefile.new
 | 
			
		||||
	mv Makefile Makefile.old
 | 
			
		||||
	mv Makefile.new Makefile
 | 
			
		||||
 | 
			
		||||
#INCLINCLINCLINCL
 | 
			
		||||
 | 
			
		||||
$(CURRDIR)/main:	$(OBJ) $(CURRDIR)/makefile
 | 
			
		||||
$(CURRDIR)/main:	$(OBJ) $(CURRDIR)/Makefile
 | 
			
		||||
	$(CC) $(COPTIONS) $(LDFLAGS) $(OBJ) $(LIBS) -o $(CURRDIR)/main 
 | 
			
		||||
	size $(CURRDIR)/main
 | 
			
		||||
 | 
			
		||||
$(CURRDIR)/emain:	$(OBJ) $(CURRDIR)/makefile
 | 
			
		||||
$(CURRDIR)/emain:	$(OBJ) $(CURRDIR)/Makefile
 | 
			
		||||
	$(CC) $(COPTIONS) $(LDFLAGS) $(OBJ) $(ELIBS) -o $(CURRDIR)/emain 
 | 
			
		||||
	size $(CURRDIR)/emain
 | 
			
		||||
 | 
			
		||||
$(CURRDIR)/omain:	$(OBJ) $(CURRDIR)/makefile
 | 
			
		||||
$(CURRDIR)/omain:	$(OBJ) $(CURRDIR)/Makefile
 | 
			
		||||
	$(CC) $(COPTIONS) $(LDFLAGS) $(OBJ) $(OLIBS) -o $(CURRDIR)/omain 
 | 
			
		||||
	size $(CURRDIR)/omain
 | 
			
		||||
 | 
			
		||||
$(CURRDIR)/cemain:	$(OBJ) $(CURRDIR)/makefile
 | 
			
		||||
$(CURRDIR)/cemain:	$(OBJ) $(CURRDIR)/Makefile
 | 
			
		||||
	$(CC) $(COPTIONS) $(LDFLAGS) $(OBJ) $(CELIBS) -o $(CURRDIR)/cemain 
 | 
			
		||||
	size $(CURRDIR)/cemain
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -165,11 +165,11 @@ util.h:		make.allocd
 | 
			
		|||
OBJ =	$(COBJ) $(LOBJ) $(GOBJ)
 | 
			
		||||
SRC =	$(CSRC) $(LCSRC) $(GCSRC)
 | 
			
		||||
 | 
			
		||||
main:	$(OBJ) Makefile
 | 
			
		||||
main:	$(OBJ) Makefile.erik
 | 
			
		||||
	$(CC) $(COPTIONS) $(LFLAGS) $(OBJ) $(LIBS) -o main 
 | 
			
		||||
	size main
 | 
			
		||||
 | 
			
		||||
emain:	$(OBJ) Makefile
 | 
			
		||||
emain:	$(OBJ) Makefile.erik
 | 
			
		||||
	$(CC) $(COPTIONS) $(LFLAGS) $(OBJ) $(ELIBS) -o emain 
 | 
			
		||||
	size emain
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -196,11 +196,11 @@ listobjects:
 | 
			
		|||
	@echo $(OBJ)
 | 
			
		||||
 | 
			
		||||
depend:	cfiles
 | 
			
		||||
	sed '/^#AUTOAUTO/,$$d' Makefile >Makefile.new
 | 
			
		||||
	echo '#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO' >>Makefile.new
 | 
			
		||||
	$(MKDEP) $(SRC) | sed 's/\.c:/.o:/' >>Makefile.new
 | 
			
		||||
	mv Makefile Makefile.old
 | 
			
		||||
	mv Makefile.new Makefile
 | 
			
		||||
	sed '/^#AUTOAUTO/,$$d' Makefile.erik >Makefile.erik.new
 | 
			
		||||
	echo '#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO' >>Makefile.erik.new
 | 
			
		||||
	$(MKDEP) $(SRC) | sed 's/\.c:/.o:/' >>Makefile.erik.new
 | 
			
		||||
	mv Makefile.erik Makefile.erik.old
 | 
			
		||||
	mv Makefile.erik.new Makefile.erik
 | 
			
		||||
	
 | 
			
		||||
xref:
 | 
			
		||||
	ctags -x `grep "\.[ch]" files`|sed "s/).*/)/">Xref
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue