summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2007-12-11 17:23:18 +0000
committerGisle Vanem <gvanem@broadpark.no>2007-12-11 17:23:18 +0000
commitec5ebc218a32640817d3ea2ea85246f9befeda2f (patch)
treecce9040078f9807d5a418c19ec5f2f68587edff9
parent4f9bf2ec64a00f8c933402a1076100aa38f87662 (diff)
downloadc-ares-ec5ebc218a32640817d3ea2ea85246f9befeda2f.tar.gz
c-ares-ec5ebc218a32640817d3ea2ea85246f9befeda2f.tar.bz2
c-ares-ec5ebc218a32640817d3ea2ea85246f9befeda2f.zip
Added build of acountry.exe.
-rw-r--r--Makefile.m324
-rw-r--r--Makefile.vc65
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.m32 b/Makefile.m32
index 233422e..6cce1c8 100644
--- a/Makefile.m32
+++ b/Makefile.m32
@@ -32,7 +32,7 @@ $(LIB): $(OBJLIB)
all: $(LIB) demos
-demos: adig.exe ahost.exe
+demos: adig.exe ahost.exe acountry.exe
tags:
etags *.[ch]
@@ -61,7 +61,7 @@ install:
done)
clean:
- $(RM) ares_getopt.o $(OBJLIB) $(LIB) adig.exe ahost.exe
+ $(RM) ares_getopt.o $(OBJLIB) $(LIB) adig.exe ahost.exe acountry.exe
distclean: clean
$(RM) config.cache config.log config.status Makefile
diff --git a/Makefile.vc6 b/Makefile.vc6
index f1d7772..8bc8efb 100644
--- a/Makefile.vc6
+++ b/Makefile.vc6
@@ -76,7 +76,7 @@ OBJECTS = $(OBJ_DIR)\ares_fds.obj \
$(OBJ_DIR)\inet_net_pton.obj \
$(OBJ_DIR)\inet_ntop.obj
-all: $(OBJ_DIR) cares.lib cares.dll cares_imp.lib ahost.exe adig.exe
+all: $(OBJ_DIR) cares.lib cares.dll cares_imp.lib ahost.exe adig.exe acountry.exe
@echo Welcome to c-ares library and examples
$(OBJ_DIR):
@@ -131,6 +131,9 @@ ahost.exe: $(OBJ_DIR) $(OBJ_DIR)\ahost.obj $(OBJ_DIR)\ares_getopt.obj cares_imp.
adig.exe: $(OBJ_DIR) $(OBJ_DIR)\adig.obj $(OBJ_DIR)\ares_getopt.obj cares_imp.lib
link $(LDFLAGS) -out:$@ $(OBJ_DIR)\adig.obj $(OBJ_DIR)\ares_getopt.obj cares_imp.lib $(EX_LIBS)
+acountry.exe: $(OBJ_DIR) $(OBJ_DIR)\acountry.obj $(OBJ_DIR)\ares_getopt.obj cares_imp.lib
+ link $(LDFLAGS) -out:$@ $(OBJ_DIR)\acountry.obj $(OBJ_DIR)\ares_getopt.obj cares_imp.lib $(EX_LIBS)
+
clean:
- del $(OBJ_DIR)\*.obj *.ilk *.pdb *.pbt *.pbi *.pbo *._xe *.map