Browse Source

Made XFLAGS & XLIBS macros only

master
Bert 13 years ago
parent
commit
8f99adbbbd
2 changed files with 8 additions and 9 deletions
  1. +6
    -2
      Makefile
  2. +2
    -7
      README.md

+ 6
- 2
Makefile View File

@@ -1,10 +1,14 @@
VERSION = git-20110911 VERSION = git-20110912


CC = gcc CC = gcc
CFLAGS = -Wall -pedantic -O2 CFLAGS = -Wall -pedantic -O2
LDFLAGS = LDFLAGS =
LIBS = -lX11 -lImlib2 LIBS = -lX11 -lImlib2


XFLAGS =
XLIBS =

DESTDIR =
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man


@@ -17,8 +21,8 @@ options:
@echo "sxiv build options:" @echo "sxiv build options:"
@echo "CC = $(CC)" @echo "CC = $(CC)"
@echo "CFLAGS = $(CFLAGS)" @echo "CFLAGS = $(CFLAGS)"
@echo "XFLAGS = $(XFLAGS)"
@echo "LDFLAGS = $(LDFLAGS)" @echo "LDFLAGS = $(LDFLAGS)"
@echo "XFLAGS = $(XFLAGS)"
@echo "XLIBS = $(XLIBS)" @echo "XLIBS = $(XLIBS)"
@echo "PREFIX = $(PREFIX)" @echo "PREFIX = $(PREFIX)"




+ 2
- 7
README.md View File

@@ -74,16 +74,11 @@ enable the corresponding feature:
files according to their EXIF tag | | | files according to their EXIF tag | | |


For instance, to enable GIF and EXIF support, the giflib and libexif libraries For instance, to enable GIF and EXIF support, the giflib and libexif libraries
need to be installed on your system and you either need to change the first need to be installed on your system and you need to change the first build
build command to: command to:


$ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif" $ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif"


Or you need to run the following commands before building sxiv:

$ export XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT"
$ export XLIBS="-lgif -lexif"

Usage Usage
===== =====
sxiv has two modes of operation: image and thumbnail mode. The default is sxiv has two modes of operation: image and thumbnail mode. The default is


||||||
x
 
000:0
Loading…
Cancel
Save