Makefile
changeset 39 46d7ec9d63bd
parent 33 5e0a954f7c0b
child 41 574503cf7bb0
equal deleted inserted replaced
38:48f6f3918b82 39:46d7ec9d63bd
    98 atoi_print: atoi_print.o
    98 atoi_print: atoi_print.o
    99 	@echo Linking $< ...
    99 	@echo Linking $< ...
   100 	@$(CC) $(CFLAGS) -o $@ $<
   100 	@$(CC) $(CFLAGS) -o $@ $<
   101 
   101 
   102 data_types: data_types.c
   102 data_types: data_types.c
   103 	@echo Linking $< ...
   103 	@echo Compiling $< ...
   104 	@$(CC) $(CFLAGS) -std=c99 -o $@ $<
   104 	@$(CC) $(CFLAGS) -std=c99 -o $@ $<
   105 
   105 
   106 dnsresolve: dnsresolve.o
   106 dnsresolve: dnsresolve.o
   107 	@echo Linking $< ...
   107 	@echo Linking $< ...
   108 	@$(CC) $(CFLAGS) -o $@ $<
   108 	@$(CC) $(CFLAGS) -o $@ $<