Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
rinri
/
slstatus
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
Makefile: move OS-specific libs to configure script
master
Quentin Rameau
il y a 6 ans
committed by
Aaron Marcher
Parent
95665e437b
révision
2ea3d46f13
3 fichiers modifiés
avec
9 ajouts
et
5 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
Makefile
+0
-3
config.mk
+8
-1
configure
+ 1
- 1
Makefile
Voir le fichier
@@ -29,7 +29,7 @@ COM =\
SLSCFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE $(CFLAGS)
SLSLDFLAGS = -L$(X11LIB) $(LDFLAGS)
SLSLIBS = -lX11 $(OS
S
LIBS) $(LIBS)
SLSLIBS = -lX11 $(OSLIBS) $(LIBS)
all: slstatus
+ 0
- 3
config.mk
Voir le fichier
@@ -10,9 +10,6 @@ MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# OpenBSD (uncomment)
#OSSLIBS = -lossaudio
# flags
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
LDFLAGS = -s
+ 8
- 1
configure
Voir le fichier
@@ -1,3 +1,10 @@
#!/bin/sh
printf 'OS = %s\n' "$(uname)" > os.mk
os="$(uname)"
printf 'OS = %s\n' "$os" > os.mk
if [ "$os" = "OpenBSD" ]
then
printf 'OSLIBS = -lossaudio\n' >> os.mk
fi
Écrire
Aperçu
Chargement…
Annuler
Enregistrer