Makefile: move OS-specific libs to configure script
This commit is contained in:
parent
95665e437b
commit
2ea3d46f13
2
Makefile
2
Makefile
@ -29,7 +29,7 @@ COM =\
|
|||||||
|
|
||||||
SLSCFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE $(CFLAGS)
|
SLSCFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE $(CFLAGS)
|
||||||
SLSLDFLAGS = -L$(X11LIB) $(LDFLAGS)
|
SLSLDFLAGS = -L$(X11LIB) $(LDFLAGS)
|
||||||
SLSLIBS = -lX11 $(OSSLIBS) $(LIBS)
|
SLSLIBS = -lX11 $(OSLIBS) $(LIBS)
|
||||||
|
|
||||||
all: slstatus
|
all: slstatus
|
||||||
|
|
||||||
|
@ -10,9 +10,6 @@ MANPREFIX = ${PREFIX}/share/man
|
|||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/X11R6/include
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/X11R6/lib
|
||||||
|
|
||||||
# OpenBSD (uncomment)
|
|
||||||
#OSSLIBS = -lossaudio
|
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
|
Loading…
Reference in New Issue
Block a user