Another fix for freebsd

This commit is contained in:
Andrew Pamment 2017-03-19 08:08:10 +10:00
parent 8879b12827
commit cd06522917

View File

@ -1,6 +1,10 @@
INCDIR = ../ INCDIR = ../
CC = gcc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall ifeq (`uname -s`, FreeBSD)
CC = cc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
else
CC = gcc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
endif
AR = ar -ru AR = ar -ru
RM = rm -f RM = rm -f