Makefile
changeset 137 d8a0984b72fc
parent 131 b5ad49852adc
child 138 dff18d1ac2af
equal deleted inserted replaced
136:d82f65e902d0 137:d8a0984b72fc
    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 TARGET += getbits
    77 TARGET += getbits
       
    78 TARGET += fun
    78 
    79 
    79 .SUFFIXES: .c .cc .asm
    80 .SUFFIXES: .c .cc .asm
    80 
    81 
    81 .c.o:
    82 .c.o:
    82 	@echo Compiling $< ...
    83 	@echo Compiling $< ...
   340 
   341 
   341 getbits: getbits.o
   342 getbits: getbits.o
   342 	@echo Linking $<...
   343 	@echo Linking $<...
   343 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   344 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   344 
   345 
       
   346 fun: fun.o
       
   347 	@echo Linking $<...
       
   348 	@$(CC) -Wall -O2 -g -ggdb $(LDFLAGS) $< -o $@
   345 
   349 
   346 .PHONY: beauty clean uninstall
   350 .PHONY: beauty clean uninstall
   347 
   351 
   348 clean:
   352 clean:
   349 ifdef FIND
   353 ifdef FIND