Makefile
changeset 76 c46968bddef5
parent 74 829976007e62
child 86 86b83a979d9e
equal deleted inserted replaced
75:a2c32869d4d5 76:c46968bddef5
    61 TARGET += fork
    61 TARGET += fork
    62 TARGET += duff
    62 TARGET += duff
    63 TARGET += unicode
    63 TARGET += unicode
    64 TARGET += fts
    64 TARGET += fts
    65 TARGET += clplaner
    65 TARGET += clplaner
       
    66 TARGET += daemon
    66 
    67 
    67 .SUFFIXES: .c .cc .asm
    68 .SUFFIXES: .c .cc .asm
    68 
    69 
    69 .c.o:
    70 .c.o:
    70 	@echo Compiling $< ...
    71 	@echo Compiling $< ...
   289 duff: duff.o
   290 duff: duff.o
   290 	@echo Linking $< ...
   291 	@echo Linking $< ...
   291 	@$(CC) -o $@ $<
   292 	@$(CC) -o $@ $<
   292 
   293 
   293 unicode: unicode.c
   294 unicode: unicode.c
   294 	@echo Compiling $<...
   295 	@echo Linking $<...
   295 	@$(CC) -c $(CFLAGS) -std=c99 $<
   296 	@$(CC) $(CFLAGS) -std=c99 -o $@ $<
   296 	@echo Linking $< ...
       
   297 	@$(CC) -std=c99 -o $@ $<
       
   298 
   297 
   299 fts: fts.c
   298 fts: fts.c
   300 	@echo Compiling \(NON-ANSI\) $<...
   299 	@echo Linking $< ...
   301 	@$(CC) -c -Wall -O2 $<
   300 	@$(CC) -Wall -O2 $< -o $@
   302 	@echo Linking $< ...
       
   303 	@$(CC) -o $@ $<
       
   304 
   301 
   305 clplaner: clplaner.o
   302 clplaner: clplaner.o
   306 	@echo Compiling $<...
   303 	@echo Linking $<...
   307 	@$(CC) -o $@ $<
   304 	@$(CC) -o $@ $<
       
   305 
       
   306 daemon: daemon.c
       
   307 	@echo Linking $<...
       
   308 	@$(CC) -Wall -O2 -g -ggdb $< -o $@
   308 
   309 
   309 .PHONY: beauty clean uninstall
   310 .PHONY: beauty clean uninstall
   310 
   311 
   311 clean:
   312 clean:
   312 ifdef FIND
   313 ifdef FIND