* corrigé un prob de portable (OSTYPE)
This commit is contained in:
parent
3914d44b7a
commit
608b76d0b9
1 changed files with 6 additions and 2 deletions
|
@ -6,13 +6,17 @@
|
||||||
#LIBINC=-L
|
#LIBINC=-L
|
||||||
#LIBS=
|
#LIBS=
|
||||||
|
|
||||||
OSTYPE=$(shell uname -s)
|
OS=$(shell uname -s)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-Wall --static
|
CFLAGS=-Wall --static
|
||||||
#-O2 -ggdb
|
#-O2 -ggdb
|
||||||
INCLUDES=-I ../src/
|
INCLUDES=-I ../src/
|
||||||
LIBINC=-L ../src
|
LIBINC=-L ../src
|
||||||
LIBS=-lnazgul $(OSTYPE:Linux=-lrt)
|
|
||||||
|
LIBS=-lnazgul
|
||||||
|
ifeq "Linux" "${OS}"
|
||||||
|
LIBS=-lnazgul -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
PRJNAME=Libnazgul
|
PRJNAME=Libnazgul
|
||||||
GDATE := $(shell date +"-%Y-%m-%d_r%H")
|
GDATE := $(shell date +"-%Y-%m-%d_r%H")
|
||||||
|
|
Loading…
Reference in a new issue