Makefile
changeset 43 cf8c1b5127b2
parent 41 574503cf7bb0
child 45 7197576fedcf
equal deleted inserted replaced
42:83b8151b966d 43:cf8c1b5127b2
    44 	function_pointers \
    44 	function_pointers \
    45 	sort \
    45 	sort \
    46 	min2time \
    46 	min2time \
    47 	recursive_compiler \
    47 	recursive_compiler \
    48 	getpwnam_error \
    48 	getpwnam_error \
    49 	xmlparser
    49 	xmlparser \
       
    50 	vector
    50 
    51 
    51 .SUFFIXES: .c .cc .asm
    52 .SUFFIXES: .c .cc .asm
    52 
    53 
    53 .c.o:
    54 .c.o:
    54 	@echo Compiling $< ...
    55 	@echo Compiling $< ...
   248 
   249 
   249 xmlparser: xmlparser.o
   250 xmlparser: xmlparser.o
   250 	@echo Linking $< ...
   251 	@echo Linking $< ...
   251 	@$(CC) -o $@ $< -lexpat
   252 	@$(CC) -o $@ $< -lexpat
   252 
   253 
       
   254 vector: vector.o
       
   255 	@echo Linking $< ...
       
   256 	@$(CPP) -o $@ $<
       
   257 
   253 .PHONY: clean uninstall
   258 .PHONY: clean uninstall
   254 
   259 
   255 clean:
   260 clean:
   256 	rm -f *.o *~
   261 	rm -f *.o *~
   257 	rm -f $(TARGET)
   262 	rm -f $(TARGET)