Makefile
changeset 11 0a8be4eac87e
parent 10 f19f44e2e863
child 24 9cdad6c45b47
equal deleted inserted replaced
10:f19f44e2e863 11:0a8be4eac87e
    37 	lotto \
    37 	lotto \
    38 	database \
    38 	database \
    39 	gauss \
    39 	gauss \
    40 	mem2swap \
    40 	mem2swap \
    41 	prog_limit \
    41 	prog_limit \
    42 	connection
    42 	connection \
       
    43 	copy
    43 
    44 
    44 .SUFFIXES: .c .cc .asm
    45 .SUFFIXES: .c .cc .asm
    45 
    46 
    46 .c.o:
    47 .c.o:
    47 	@echo Compiling $< ...
    48 	@echo Compiling $< ...
   213 
   214 
   214 connection: connection.o
   215 connection: connection.o
   215 	@echo Linking $< ...
   216 	@echo Linking $< ...
   216 	@$(CPP) -o $@ $<
   217 	@$(CPP) -o $@ $<
   217 
   218 
       
   219 copy: copy.o
       
   220 	@echo Linking $< ...
       
   221 	@$(CPP) -o $@ $<
       
   222 
   218 .PHONY: clean uninstall
   223 .PHONY: clean uninstall
   219 
   224 
   220 clean:
   225 clean:
   221 	rm -f *.o *~
   226 	rm -f *.o *~
   222 	rm -f $(TARGET)
   227 	rm -f $(TARGET)