Another try at freebsd makefiles
This commit is contained in:
parent
cd06522917
commit
0dee34480f
@ -5,6 +5,8 @@
|
||||
PLATFORMDEF = -DPLATFORM_LINUX
|
||||
EXESUFFIX =
|
||||
|
||||
OS = `uname -s`
|
||||
|
||||
BINDIR = ../bin
|
||||
OBJDIR = obj
|
||||
INCDIR = ./
|
||||
@ -38,7 +40,7 @@ MBOBJS = $(MBOBJS_MSG) $(MBOBJS_JAM) $(MBOBJS_SQ3)
|
||||
DEFS = $(PLATFORMDEF) $(MBDEFS) $(NLDEFS)
|
||||
|
||||
# Commands
|
||||
ifeq (`uname -s`, FreeBSD)
|
||||
ifeq ($(OS), FreeBSD)
|
||||
CC = cc $(CPPFLAGS) $(CFLAGS) $(DEFS) $(LDFLAGS) -I $(INCDIR) -I ../../../deps/ -Wall
|
||||
else
|
||||
CC = gcc $(CPPFLAGS) $(CFLAGS) $(DEFS) $(LDFLAGS) -I $(INCDIR) -I ../../../deps/ -Wall
|
||||
|
@ -1,6 +1,9 @@
|
||||
INCDIR = ../
|
||||
|
||||
ifeq (`uname -s`, FreeBSD)
|
||||
|
||||
OS = `uname -s`
|
||||
|
||||
ifeq ($(OS), FreeBSD)
|
||||
CC = cc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
|
||||
else
|
||||
CC = gcc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
|
||||
|
Reference in New Issue
Block a user