chiark / gitweb /
Give install the '-c' flag (otherwise some delete the original !).
[adns.git] / client / Makefile.in
index a3a6327ef084106fd5480f1d75d1aee5327042bc..c75d4d0c02d22ba0a9af66e003236a5524e0bbc9 100644 (file)
@@ -29,7 +29,7 @@ DIRCFLAGS=    -I$(srcdir)/../src
 all:           $(TARGETS)
 
 install:       $(TARG_INSTALL)
-               set -xe; for f in $(TARGETS); \
+               set -xe; for f in $(TARG_INSTALL); \
                        do $(INSTALL_PROGRAM) $$f $(bin_dir)/$$f; done
 
 uninstall:
@@ -38,4 +38,4 @@ uninstall:
 adnstest:      adnstest.o $(srcdir)/../dynamic/$(SHLIBFILE)
 
 adnstest_s:    adnstest.o $(srcdir)/../src/libadns.a
-               $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+               $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)