Remove os check
This commit is contained in:
7
makefile
7
makefile
@@ -7,13 +7,6 @@ INCDIR := engine/include
|
|||||||
BUILDDIR := build
|
BUILDDIR := build
|
||||||
LIBNAME := libchess
|
LIBNAME := libchess
|
||||||
|
|
||||||
UNAME_S := $(shell uname -s)
|
|
||||||
ifeq ($(UNAME_S),Darwin)
|
|
||||||
SOEXT := dylib
|
|
||||||
else
|
|
||||||
SOEXT := so
|
|
||||||
endif
|
|
||||||
|
|
||||||
SRC := $(wildcard $(SRCDIR)/*.c)
|
SRC := $(wildcard $(SRCDIR)/*.c)
|
||||||
OBJ := $(patsubst $(SRCDIR)/%.c,$(BUILDDIR)/%.o,$(SRC))
|
OBJ := $(patsubst $(SRCDIR)/%.c,$(BUILDDIR)/%.o,$(SRC))
|
||||||
LIB := $(BUILDDIR)/$(LIBNAME).$(SOEXT)
|
LIB := $(BUILDDIR)/$(LIBNAME).$(SOEXT)
|
||||||
|
|||||||
Reference in New Issue
Block a user