|  |  | @@ -18,8 +18,7 @@ PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ | 
		
	
		
			
			|  |  |  | .SUFFIXES: .c | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | .c: $(LIB_DEP) | 
		
	
		
			
			|  |  |  | $(CC) -I$(INCDIR) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | $(CC) -I$(INCDIR) $(CFLAGS) $< readtex.o $(APP_LIB_DEPS) -o $@ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | ##### TARGETS ##### | 
		
	
	
		
			
			|  |  | @@ -27,6 +26,22 @@ PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ | 
		
	
		
			
			|  |  |  | default: $(PROGS) | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | sphere: sphere.o readtex.o | 
		
	
		
			
			|  |  |  | $(CC) -I$(INCDIR) $(CFLAGS) sphere.o readtex.o $(APP_LIB_DEPS) -o $@ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | sphere.o: sphere.c readtex.h | 
		
	
		
			
			|  |  |  | $(CC) -c -I$(INCDIR) $(CFLAGS) sphere.c | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | readtex.c: ../util/readtex.c | 
		
	
		
			
			|  |  |  | cp ../util/readtex.c . | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | readtex.h: ../util/readtex.h | 
		
	
		
			
			|  |  |  | cp ../util/readtex.h . | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | readtex.o: readtex.c readtex.h | 
		
	
		
			
			|  |  |  | $(CC) -c -I$(INCDIR) $(CFLAGS) $< -o $@ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | clean: | 
		
	
		
			
			|  |  |  | -rm -f $(PROGS) | 
		
	
		
			
			|  |  |  | -rm -f *.o *~ |