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