Makefile
changeset 108 d6a52e0152fb
parent 107 244356bc3a20
child 116 ae784a3a45b1
equal deleted inserted replaced
107:244356bc3a20 108:d6a52e0152fb
    66 TARGET += daemon
    66 TARGET += daemon
    67 TARGET += numbers
    67 TARGET += numbers
    68 TARGET += nearest
    68 TARGET += nearest
    69 TARGET += cppdatabase
    69 TARGET += cppdatabase
    70 TARGET += pipe
    70 TARGET += pipe
       
    71 TARGET += compliteral
       
    72 
    71 
    73 
    72 .SUFFIXES: .c .cc .asm
    74 .SUFFIXES: .c .cc .asm
    73 
    75 
    74 .c.o:
    76 .c.o:
    75 	@echo Compiling $< ...
    77 	@echo Compiling $< ...
   322 cppdatabase: cppdatabase.o
   324 cppdatabase: cppdatabase.o
   323 	@echo Linking $<...
   325 	@echo Linking $<...
   324 	@$(CPP) -Wall -O2 -g -ggdb $< -o $@
   326 	@$(CPP) -Wall -O2 -g -ggdb $< -o $@
   325 
   327 
   326 pipe: pipe.o
   328 pipe: pipe.o
       
   329 	@echo Linking $<...
       
   330 	@$(CC) -Wall -O2 -g -ggdb $< -o $@
       
   331 
       
   332 compliteral: compliteral.o
   327 	@echo Linking $<...
   333 	@echo Linking $<...
   328 	@$(CC) -Wall -O2 -g -ggdb $< -o $@
   334 	@$(CC) -Wall -O2 -g -ggdb $< -o $@
   329 
   335 
   330 
   336 
   331 .PHONY: beauty clean uninstall
   337 .PHONY: beauty clean uninstall