Makefile
changeset 62 b7061c0e239f
parent 58 9609c54a54d3
child 64 993b97c4ad2d
equal deleted inserted replaced
61:4b4c97f179da 62:b7061c0e239f
    50 	xmlparser \
    50 	xmlparser \
    51 	vector \
    51 	vector \
    52 	base10 \
    52 	base10 \
    53 	files \
    53 	files \
    54 	fork \
    54 	fork \
    55 	duff
    55 	duff \
       
    56 	unicode
    56 
    57 
    57 .SUFFIXES: .c .cc .asm
    58 .SUFFIXES: .c .cc .asm
    58 
    59 
    59 .c.o:
    60 .c.o:
    60 	@echo Compiling $< ...
    61 	@echo Compiling $< ...
   278 
   279 
   279 duff: duff.o
   280 duff: duff.o
   280 	@echo Linking $< ...
   281 	@echo Linking $< ...
   281 	@$(CC) -o $@ $<
   282 	@$(CC) -o $@ $<
   282 
   283 
       
   284 unicode: unicode.c
       
   285 	@echo Compiling $<...
       
   286 	@$(CC) -c $(CFLAGS) -std=c99 $<
       
   287 	@echo Linking $< ...
       
   288 	@$(CC) -std=c99 -o $@ $<
       
   289 
   283 .PHONY: clean uninstall
   290 .PHONY: clean uninstall
   284 
   291 
   285 clean:
   292 clean:
   286 	rm -f *.o *~
   293 	rm -f *.o *~
   287 	rm -f $(TARGET)
   294 	rm -f $(TARGET)