diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-14 22:38:42 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-14 22:38:42 +0000 |
commit | 832f95163bc07b9d5d429b38de6c38999a3ed949 (patch) | |
tree | be67b644b9a76b68c93535e8b95d941bf6ee76b8 /libdha | |
parent | 4d8d0c681ffd919a6489d6b977ba69573214d8f1 (diff) | |
download | mpv-832f95163bc07b9d5d429b38de6c38999a3ed949.tar.bz2 mpv-832f95163bc07b9d5d429b38de6c38999a3ed949.tar.xz |
Simplify rules using make shorthands.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22584 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r-- | libdha/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libdha/Makefile b/libdha/Makefile index 47f1cb730d..62334c4118 100644 --- a/libdha/Makefile +++ b/libdha/Makefile @@ -53,12 +53,12 @@ endif $(LIBNAME): $(OBJS) ifeq ($(TARGET_WIN32),yes) - $(AR) r $(LIBNAME) $(OBJS) + $(AR) r $@ $^ else - #$(CC) -shared $(SONAME_FLAGS) -o $(LIBNAME) $(OBJS) $(LIBS) - $(CC) -shared -Wl,-soname -Wl,$(LIBNAME) -o $(LIBNAME) $(OBJS) $(LIBS) - ln -sf $(LIBNAME) $(SHORTNAME) - ln -sf $(LIBNAME) $(VSHORTNAME) + #$(CC) -shared $(SONAME_FLAGS) -o $@ $^ $(LIBS) + $(CC) -shared -Wl,-soname -Wl,$@ -o $@ $^ $(LIBS) + ln -sf $@ $(SHORTNAME) + ln -sf $@ $(VSHORTNAME) endif all: $(LIBNAME) $(SHORTNAME) @@ -66,8 +66,8 @@ all: $(LIBNAME) $(SHORTNAME) pci_names.c: oth/pci.db LC_ALL=C $(AWK) -f pci_db2c.awk $< -test: - $(CC) test.c -o test $(SHORTNAME) +test: $(SHORTNAME) + $(CC) test.c -o $@ $^ clean: rm -f *.o *.a *~ *.so *.so.* |