Makefile
changeset 130 f4b424b93e45
parent 128 efa226a4801e
child 131 b5ad49852adc
equal deleted inserted replaced
129:d82830a449a9 130:f4b424b93e45
    72 TARGET += numbers
    72 TARGET += numbers
    73 TARGET += nearest
    73 TARGET += nearest
    74 TARGET += cppdatabase
    74 TARGET += cppdatabase
    75 TARGET += pipe
    75 TARGET += pipe
    76 TARGET += compliteral
    76 TARGET += compliteral
    77 
    77 TARGET += getbits
    78 
    78 
    79 .SUFFIXES: .c .cc .asm
    79 .SUFFIXES: .c .cc .asm
    80 
    80 
    81 .c.o:
    81 .c.o:
    82 	@echo Compiling $< ...
    82 	@echo Compiling $< ...
   333 pipe: pipe.o
   333 pipe: pipe.o
   334 	@echo Linking $<...
   334 	@echo Linking $<...
   335 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   335 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   336 
   336 
   337 compliteral: compliteral.o
   337 compliteral: compliteral.o
       
   338 	@echo Linking $<...
       
   339 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
       
   340 
       
   341 getbits: getbits.o
   338 	@echo Linking $<...
   342 	@echo Linking $<...
   339 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   343 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   340 
   344 
   341 
   345 
   342 .PHONY: beauty clean uninstall
   346 .PHONY: beauty clean uninstall