new installation mechanism
This commit is contained in:
		
							parent
							
								
									7d6eed155c
								
							
						
					
					
						commit
						4b27a0d2f3
					
				
					 3 changed files with 34 additions and 3 deletions
				
			
		|  | @ -1,2 +1,2 @@ | ||||||
| Makefile | proto.make | ||||||
| cv.c | cv.c | ||||||
|  |  | ||||||
							
								
								
									
										33
									
								
								mach/vax4/cv/proto.make
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								mach/vax4/cv/proto.make
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | ||||||
|  | # $Header$ | ||||||
|  | 
 | ||||||
|  | #PARAMS		do not remove this line! | ||||||
|  | 
 | ||||||
|  | OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF) | ||||||
|  | 
 | ||||||
|  | SRC_DIR = $(SRC_HOME)/mach/vax4/cv | ||||||
|  | 
 | ||||||
|  | all:	cv | ||||||
|  | 
 | ||||||
|  | cv:	cv.$(SUF) | ||||||
|  | 	$(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB) | ||||||
|  | 
 | ||||||
|  | cv.$(SUF):	$(SRC_DIR)/cv.c | ||||||
|  | 	$(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c | ||||||
|  | 
 | ||||||
|  | install:	all | ||||||
|  | 	cp cv $(TARGET_HOME)/lib.bin/vax4/cv | ||||||
|  | 
 | ||||||
|  | cmp:	all | ||||||
|  | 	-cmp cv $(TARGET_HOME)/lib.bin/vax4/cv | ||||||
|  | 
 | ||||||
|  | clean: | ||||||
|  | 	rm -f *.(SUF) Out | ||||||
|  | 
 | ||||||
|  | lint: | ||||||
|  | 	$(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF) | ||||||
|  | 
 | ||||||
|  | pr: | ||||||
|  | 	@pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c | ||||||
|  | 
 | ||||||
|  | opr: | ||||||
|  | 	make pr | opr | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| LIST | LIST | ||||||
| Makefile |  | ||||||
| compmodule |  | ||||||
| head_em.s | head_em.s | ||||||
| libmon_s.a | libmon_s.a | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue