aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-11-12 10:13:42 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-11-12 10:13:42 +0000
commite239ad2c63b29814e57ab2375a4cc25803add404 (patch)
treec54afea90e590475476efbdd3afeaa50636f6a68 /Makefile.in
parentae49ad28864d766209b15111a31bd4ee60893957 (diff)
getting rid of olde tests; cleaned up code
svn path=/trunk/externals/iem/syslog/; revision=14432
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 55de641..42fadf2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,7 +3,7 @@ VERSION =0.1
PREFIX =@prefix@@PDLIBDIR@
-INSTALL_BIN=$(PREFIX)/extra
+INSTALL_BIN=$(PREFIX)/extra/$(LIBNAME)
EXT = @EXT@
DEFS = @DFLAGS@ -DVERSION=\"$(VERSION)\"
@@ -32,7 +32,7 @@ SOURCES=$(sort $(filter %.c, $(wildcard *.c)))
TARGETS = $(SOURCES:.c=.o)
-all: $(LIBNAME)
+all: $(LIBNAME).$(EXT)
clean:
-rm -f *.o *.d
@@ -63,9 +63,9 @@ distbin: distclean all clean
everything: clean all install distclean
-$(LIBNAME): $(TARGETS)
- $(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS)
- $(STRIP) $(LIBNAME).$(EXT)
+$(LIBNAME).$(EXT): $(TARGETS)
+ $(LD) $(LFLAGS) -o $@ $< $(LIBS)
+ $(STRIP) $@
## dependencies: as proposed by the GNU-make documentation