Makefile
changeset 67 abe63a276a36
parent 66 2b4f786d9073
child 70 ded389a5dc2a
equal deleted inserted replaced
66:2b4f786d9073 67:abe63a276a36
    53 TARGET += base10
    53 TARGET += base10
    54 TARGET += files
    54 TARGET += files
    55 TARGET += fork
    55 TARGET += fork
    56 TARGET += duff
    56 TARGET += duff
    57 TARGET += unicode
    57 TARGET += unicode
       
    58 TARGET += fts
    58 
    59 
    59 .SUFFIXES: .c .cc .asm
    60 .SUFFIXES: .c .cc .asm
    60 
    61 
    61 .c.o:
    62 .c.o:
    62 	@echo Compiling $< ...
    63 	@echo Compiling $< ...
   285 unicode: unicode.c
   286 unicode: unicode.c
   286 	@echo Compiling $<...
   287 	@echo Compiling $<...
   287 	@$(CC) -c $(CFLAGS) -std=c99 $<
   288 	@$(CC) -c $(CFLAGS) -std=c99 $<
   288 	@echo Linking $< ...
   289 	@echo Linking $< ...
   289 	@$(CC) -std=c99 -o $@ $<
   290 	@$(CC) -std=c99 -o $@ $<
       
   291 
       
   292 fts: fts.c
       
   293 	@echo Compiling \(NON-ANSI\) $<...
       
   294 	@$(CC) -c -Wall -O2 $<
       
   295 	@echo Linking $< ...
       
   296 	@$(CC) -o $@ $<
   290 
   297 
   291 .PHONY: beauty clean uninstall
   298 .PHONY: beauty clean uninstall
   292 
   299 
   293 clean:
   300 clean:
   294 	find -name '*~' -exec rm -f {} \;
   301 	find -name '*~' -exec rm -f {} \;