Remove old Makefiles

This commit is contained in:
2023-04-09 04:24:39 +02:00
parent b3f9c31943
commit 5d9ee0dd07
2 changed files with 0 additions and 145 deletions

View File

@@ -1,68 +0,0 @@
VERBOSE_BUILD := false
GAMELIB_DIR := ..
GameLibConfig := $(GAMELIB_DIR)/gamelib-config
GAMELIB_MAKEPARAMS :=
ARCH :=
ifeq ($(arch),emscripten)
ARCH := emscripten
GAMELIB_MAKEPARAMS := arch=emscripten
endif
LIBS := $(shell $(GameLibConfig) $(ARCH) --libs)
STATICLIBS := $(shell $(GameLibConfig) $(ARCH) --static-libs)
CFLAGS := $(shell $(GameLibConfig) $(ARCH) --cflags)
PLATFORM := $(shell $(GameLibConfig) $(ARCH) --platform)
EXEEXT := $(shell $(GameLibConfig) $(ARCH) --exe-extension)
LDFLAGS := $(shell $(GameLibConfig) $(ARCH) --ldflags)
RES_GAME := game$(EXEEXT)
BUILDDIR := build-$(PLATFORM)
HOST_ARCH :=
HOST_OS := $(shell uname -o )
HOST_KERNEL := $(shell uname -s )
ifeq ($(HOST_OS),Msys)
HOST_ARCH := mingw
endif
ifeq ($(HOST_KERNEL),Linux)
HOST_ARCH := linux
endif
ifeq ($(HOST_KERNEL),Darwin)
HOST_ARCH := macosx
endif
ifeq ($(HOST_ARCH),mingw)
CC := gcc
AR := ar
LAUNCHER :=
RM := rm -rf
MKDIR := mkdir
ECHO := echo
endif
ifeq ($(HOST_ARCH),linux)
CC := gcc
AR := ar
LAUNCHER :=
RM := rm -rf
MKDIR := mkdir
ECHO := echo
endif
ifeq ($(HOST_ARCH),macosx)
CC := gcc
AR := ar
LAUNCHER :=
RM := rm -rf
MKDIR := mkdir
ECHO := echo
endif
ifeq ($(ARCH),emscripten)
CC := emcc
AR := emar
LAUNCHER := emrun --port 8080
endif
include Makefile.common.mk