Modified to support freebsd

This commit is contained in:
Andrew Pamment 2017-03-19 08:06:01 +10:00
parent 19257193d6
commit 8879b12827

View File

@ -38,8 +38,11 @@ MBOBJS = $(MBOBJS_MSG) $(MBOBJS_JAM) $(MBOBJS_SQ3)
DEFS = $(PLATFORMDEF) $(MBDEFS) $(NLDEFS)
# Commands
CC = gcc $(CPPFLAGS) $(CFLAGS) $(DEFS) $(LDFLAGS) -I $(INCDIR) -I ../../../deps/ -Wall
ifeq (`uname -s`, FreeBSD)
CC = cc $(CPPFLAGS) $(CFLAGS) $(DEFS) $(LDFLAGS) -I $(INCDIR) -I ../../../deps/ -Wall
else
CC = gcc $(CPPFLAGS) $(CFLAGS) $(DEFS) $(LDFLAGS) -I $(INCDIR) -I ../../../deps/ -Wall
endif
RM = rm -f
STRIP = strip