would this fix it permanently
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@130 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
0f9d024d26
commit
ce0d5f7f3d
10
Makefile
10
Makefile
|
@ -8,6 +8,14 @@ ifndef optimize
|
||||||
optimize = -O0
|
optimize = -O0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq (Linux,$(shell uname -s))
|
||||||
|
LUTIL = -lutil
|
||||||
|
else
|
||||||
|
ifeq (BSD,$(shell uname -s | grep -o BSD))
|
||||||
|
LUTIL = -lutil
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
CFLAGS = -g3 $(optimize) -Wall -Wno-unused $(DEFS)
|
CFLAGS = -g3 $(optimize) -Wall -Wno-unused $(DEFS)
|
||||||
|
@ -15,7 +23,7 @@ INSTALL = install -c
|
||||||
DEFS = -DVERSION=\"$(VERSION)\"
|
DEFS = -DVERSION=\"$(VERSION)\"
|
||||||
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c mygetnstr.c stripgfx.c strlcpy.c strlcat.c y.tab.c lex.yy.c
|
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c mygetnstr.c stripgfx.c strlcpy.c strlcat.c y.tab.c lex.yy.c
|
||||||
OBJS = $(SRCS:.c=.o)
|
OBJS = $(SRCS:.c=.o)
|
||||||
LIBS = -lcurses -lcrypt -ll
|
LIBS = -lcurses -lcrypt $(LUTIL) -ll
|
||||||
|
|
||||||
all: $(NAME)
|
all: $(NAME)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue