mirror of https://git.48k.eu/ogserver
Versión 1.0.2: configurados Makefile para compilar servicios tanto para 32 como 64 bits.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2116 a21b9725-9963-47de-94b9-378ad31fedc9master
parent
9039472266
commit
2bab3a7fef
7
Makefile
7
Makefile
|
@ -12,7 +12,12 @@ CFLAGS := -O0 -g -Wall -I../../Includes # Depuracion
|
|||
CPPFLAGS := $(CFLAGS)
|
||||
|
||||
# Opciones de linkado
|
||||
LDFLAGS := -L/usr/lib -L/usr/lib/mysql -lpthread -lmysqlclient
|
||||
LBIT := $(shell getconf LONG_BIT)
|
||||
ifeq ($(LBIT), 64)
|
||||
LDFLAGS := -L/usr/lib64 -L/usr/lib64/mysql -lpthread -lmysqlclient
|
||||
else
|
||||
LDFLAGS := -L/usr/lib -L/usr/lib/mysql -lpthread -lmysqlclient
|
||||
endif
|
||||
|
||||
# Ficheros objetos
|
||||
OBJS := ../../Includes/Database.o sources/ogAdmServer.o
|
||||
|
|
Loading…
Reference in New Issue