FreeBSD makefiles again
This commit is contained in:
parent
0dee34480f
commit
01822c6855
@ -5,7 +5,7 @@
|
|||||||
PLATFORMDEF = -DPLATFORM_LINUX
|
PLATFORMDEF = -DPLATFORM_LINUX
|
||||||
EXESUFFIX =
|
EXESUFFIX =
|
||||||
|
|
||||||
OS = `uname -s`
|
OS := $(shell uname -s)
|
||||||
|
|
||||||
BINDIR = ../bin
|
BINDIR = ../bin
|
||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
INCDIR = ../
|
INCDIR = ../
|
||||||
|
|
||||||
|
|
||||||
OS = `uname -s`
|
OS := $(shell uname -s)
|
||||||
|
|
||||||
ifeq ($(OS), FreeBSD)
|
ifeq ($(OS), FreeBSD)
|
||||||
CC = cc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
|
CC = cc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
INCDIR = ../
|
INCDIR = ../
|
||||||
|
|
||||||
|
OS := $(shell uname -s)
|
||||||
|
|
||||||
|
ifeq ($(OS), FreeBSD)
|
||||||
CC = gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -I $(INCDIR) -DPLATFORM_LINUX -g
|
CC = gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -I $(INCDIR) -DPLATFORM_LINUX -g
|
||||||
|
else
|
||||||
|
CC = cc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -I $(INCDIR) -DPLATFORM_LINUX -g
|
||||||
|
endif
|
||||||
AR = ar -ru
|
AR = ar -ru
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user