Makefile
changeset 10 f19f44e2e863
parent 8 96d16dfe787a
child 11 0a8be4eac87e
equal deleted inserted replaced
9:c3fecc82ade6 10:f19f44e2e863
    36 	bad_alloc \
    36 	bad_alloc \
    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 
    43 
    43 .SUFFIXES: .c .cc .asm
    44 .SUFFIXES: .c .cc .asm
    44 
    45 
    45 .c.o:
    46 .c.o:
    46 	@echo Compiling $< ...
    47 	@echo Compiling $< ...
   208 
   209 
   209 gauss: gauss.o
   210 gauss: gauss.o
   210 	@echo Linking $< ...
   211 	@echo Linking $< ...
   211 	@$(CPP) -o $@ $<
   212 	@$(CPP) -o $@ $<
   212 
   213 
       
   214 connection: connection.o
       
   215 	@echo Linking $< ...
       
   216 	@$(CPP) -o $@ $<
       
   217 
   213 .PHONY: clean uninstall
   218 .PHONY: clean uninstall
   214 
   219 
   215 clean:
   220 clean:
   216 	rm -f *.o *~
   221 	rm -f *.o *~
   217 	rm -f $(TARGET)
   222 	rm -f $(TARGET)