Makefile
changeset 26 d227047a3e88
parent 25 6cf883f9c506
child 30 d037c433ec3e
equal deleted inserted replaced
25:6cf883f9c506 26:d227047a3e88
    40 	mem2swap \
    40 	mem2swap \
    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 
    47 
    47 .SUFFIXES: .c .cc .asm
    48 .SUFFIXES: .c .cc .asm
    48 
    49 
    49 .c.o:
    50 .c.o:
    50 	@echo Compiling $< ...
    51 	@echo Compiling $< ...
   228 
   229 
   229 sort: sort.o
   230 sort: sort.o
   230 	@echo Linking $< ...
   231 	@echo Linking $< ...
   231 	@$(CC) -o $@ $<
   232 	@$(CC) -o $@ $<
   232 
   233 
       
   234 min2time: min2time.o
       
   235 	@echo Linking $< ...
       
   236 	@$(CC) -o $@ $<
       
   237 
   233 .PHONY: clean uninstall
   238 .PHONY: clean uninstall
   234 
   239 
   235 clean:
   240 clean:
   236 	rm -f *.o *~
   241 	rm -f *.o *~
   237 	rm -f $(TARGET)
   242 	rm -f $(TARGET)