Makefile
changeset 30 d037c433ec3e
parent 26 d227047a3e88
child 32 9b56360ec64e
equal deleted inserted replaced
29:7abf6146898e 30:d037c433ec3e
    41 	prog_limit \
    41 	prog_limit \
    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 
    48 
    48 .SUFFIXES: .c .cc .asm
    49 .SUFFIXES: .c .cc .asm
    49 
    50 
    50 .c.o:
    51 .c.o:
    51 	@echo Compiling $< ...
    52 	@echo Compiling $< ...
   233 
   234 
   234 min2time: min2time.o
   235 min2time: min2time.o
   235 	@echo Linking $< ...
   236 	@echo Linking $< ...
   236 	@$(CC) -o $@ $<
   237 	@$(CC) -o $@ $<
   237 
   238 
       
   239 recursive_compiler: recursive_compiler.o
       
   240 	@echo Linking $< ...
       
   241 	@$(CC) -o $@ $<
       
   242 
   238 .PHONY: clean uninstall
   243 .PHONY: clean uninstall
   239 
   244 
   240 clean:
   245 clean:
   241 	rm -f *.o *~
   246 	rm -f *.o *~
   242 	rm -f $(TARGET)
   247 	rm -f $(TARGET)