Makefile
changeset 41 574503cf7bb0
parent 39 46d7ec9d63bd
child 43 cf8c1b5127b2
equal deleted inserted replaced
40:be3f5582b839 41:574503cf7bb0
    43 	copy \
    43 	copy \
    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 
    50 
    50 .SUFFIXES: .c .cc .asm
    51 .SUFFIXES: .c .cc .asm
    51 
    52 
    52 .c.o:
    53 .c.o:
    53 	@echo Compiling $< ...
    54 	@echo Compiling $< ...
   243 
   244 
   244 getpwnam_error: getpwnam_error.o
   245 getpwnam_error: getpwnam_error.o
   245 	@echo Linking $< ...
   246 	@echo Linking $< ...
   246 	@$(CC) -o $@ $<
   247 	@$(CC) -o $@ $<
   247 
   248 
       
   249 xmlparser: xmlparser.o
       
   250 	@echo Linking $< ...
       
   251 	@$(CC) -o $@ $< -lexpat
       
   252 
   248 .PHONY: clean uninstall
   253 .PHONY: clean uninstall
   249 
   254 
   250 clean:
   255 clean:
   251 	rm -f *.o *~
   256 	rm -f *.o *~
   252 	rm -f $(TARGET)
   257 	rm -f $(TARGET)