Makefile
changeset 33 5e0a954f7c0b
parent 32 9b56360ec64e
child 39 46d7ec9d63bd
equal deleted inserted replaced
32:9b56360ec64e 33:5e0a954f7c0b
    42 	connection \
    42 	connection \
    43 	copy \
    43 	copy \
    44 	function_pointers \
    44 	function_pointers \
    45 	sort \
    45 	sort \
    46 	min2time \
    46 	min2time \
    47 	recursive_compiler
    47 	recursive_compiler \
       
    48 	getpwnam_error
    48 
    49 
    49 .SUFFIXES: .c .cc .asm
    50 .SUFFIXES: .c .cc .asm
    50 
    51 
    51 .c.o:
    52 .c.o:
    52 	@echo Compiling $< ...
    53 	@echo Compiling $< ...
   238 
   239 
   239 recursive_compiler: recursive_compiler.o
   240 recursive_compiler: recursive_compiler.o
   240 	@echo Linking $< ...
   241 	@echo Linking $< ...
   241 	@$(CC) -o $@ $<
   242 	@$(CC) -o $@ $<
   242 
   243 
       
   244 getpwnam_error: getpwnam_error.o
       
   245 	@echo Linking $< ...
       
   246 	@$(CC) -o $@ $<
       
   247 
   243 .PHONY: clean uninstall
   248 .PHONY: clean uninstall
   244 
   249 
   245 clean:
   250 clean:
   246 	rm -f *.o *~
   251 	rm -f *.o *~
   247 	rm -f $(TARGET)
   252 	rm -f $(TARGET)