Krolyxon
Commit 8f99adb

Branches

Refs →

nsxiv8f99adb

Made XFLAGS & XLIBS macros only

Author
Bert
Date
2011-09-12 12:16 +0200
Parent
b2a2a62
Commit
8f99adbbbd7fe5ebfc7e4a80ca4a0da9b49d92bc

+8 −9

2 files changed

  1. M Makefile +6 −2
  2. M README.md +2 −7
M Makefile View
@@ -1,10 +1,14 @@
1−VERSION = git-20110911
1+VERSION = git-20110912
22
33 CC = gcc
44 CFLAGS = -Wall -pedantic -O2
55 LDFLAGS =
66 LIBS = -lX11 -lImlib2
77
8+XFLAGS =
9+XLIBS =
10+
11+DESTDIR =
812 PREFIX = /usr/local
913 MANPREFIX = $(PREFIX)/share/man
1014
@@ -17,8 +21,8 @@ options:
1721 @echo "sxiv build options:"
1822 @echo "CC = $(CC)"
1923 @echo "CFLAGS = $(CFLAGS)"
20− @echo "XFLAGS = $(XFLAGS)"
2124 @echo "LDFLAGS = $(LDFLAGS)"
25+ @echo "XFLAGS = $(XFLAGS)"
2226 @echo "XLIBS = $(XLIBS)"
2327 @echo "PREFIX = $(PREFIX)"
2428
M README.md View
@@ -74,16 +74,11 @@ enable the corresponding feature:
7474 files according to their EXIF tag | | |
7575
7676 For instance, to enable GIF and EXIF support, the giflib and libexif libraries
77−need to be installed on your system and you either need to change the first
78−build command to:
77+need to be installed on your system and you need to change the first build
78+command to:
7979
8080 $ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif"
8181
82−Or you need to run the following commands before building sxiv:
83−
84− $ export XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT"
85− $ export XLIBS="-lgif -lexif"
86−
8782 Usage
8883 =====
8984 sxiv has two modes of operation: image and thumbnail mode. The default is