Handle portability on 3 systems
This commit is contained in:
parent
f99f7ca60f
commit
111d3683b1
1 changed files with 10 additions and 4 deletions
|
@ -9,18 +9,24 @@
|
|||
OS=$(shell uname -s)
|
||||
CC=gcc
|
||||
|
||||
CFLAGS=-Wall --static -O2 -ggdb
|
||||
CFLAGS=-Wall -O2 -ggdb
|
||||
#-O2 -ggdb
|
||||
INCLUDES=-I /usr/include -I ../src/
|
||||
LIBINC=-L /usr/lib -L ../src
|
||||
|
||||
LIBS=-lnazgul
|
||||
BASELIBS=-lnazgul
|
||||
LIBS=$(BASELIBS)
|
||||
|
||||
ifeq "HP-UX" "${OS}"
|
||||
LIBS=$(BASELIBS) -lpthread -lrt
|
||||
endif
|
||||
|
||||
ifeq "SunOS" "${OS}"
|
||||
LIBS=-lnazgul -lrt
|
||||
LIBS=$(BASELIBS) -lrt
|
||||
endif
|
||||
|
||||
ifeq "Linux" "${OS}"
|
||||
LIBS=-lnazgul -lrt -lpthread
|
||||
LIBS=$(BASELIBS) -lrt -lpthread
|
||||
endif
|
||||
|
||||
PRJNAME=Libnazgul
|
||||
|
|
Loading…
Reference in a new issue