1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 21:53:05 +01:00

Makefile: remove Windows support and bump version

This commit is contained in:
Ansa89 2014-06-24 09:02:06 +02:00
parent 47b9648f85
commit 7b8cf65218

View File

@ -1,4 +1,4 @@
TOXIC_VERSION = 0.4.1 TOXIC_VERSION = 0.4.2
REV = $(shell git rev-list HEAD --count) REV = $(shell git rev-list HEAD --count)
VERSION = $(TOXIC_VERSION)_r$(REV) VERSION = $(TOXIC_VERSION)_r$(REV)
@ -18,44 +18,33 @@ AUDIO_CFLAGS = -D_SUPPORT_AUDIO
AUDIO_OBJ = device.o audio_call.o AUDIO_OBJ = device.o audio_call.o
# Check on wich system we are running # Check on wich system we are running
ifeq ($(OS), Windows_NT) UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S), Linux)
CFLAGS +=
LDFLAGS += -ldl -lresolv
endif
ifeq ($(UNAME_S), Darwin)
CFLAGS +=
LDFLAGS +=
endif
ifeq ($(UNAME_S), Solaris)
CFLAGS +=
LDFLAGS +=
endif
# Check on which platform we are running
UNAME_M = $(shell uname -m)
ifeq ($(UNAME_M), x86_64)
CFLAGS +=
LDFLAGS +=
endif
ifneq ($(filter %86, $(UNAME_M)),)
CFLAGS +=
LDFLAGS +=
endif
ifneq ($(filter arm%, $(UNAME_M)),)
CFLAGS += CFLAGS +=
LDFLAGS += LDFLAGS +=
ifeq ($(PROCESSOR_ARCHITECTURE), AMD64)
CFLAGS +=
LDFLAGS +=
endif
ifeq ($(PROCESSOR_ARCHITECTURE), x86)
CFLAGS +=
LDFLAGS +=
endif
else
UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S), Linux)
CFLAGS +=
LDFLAGS += -ldl -lresolv
endif
ifeq ($(UNAME_S), Darwin)
CFLAGS +=
LDFLAGS +=
endif
ifeq ($(UNAME_S), Solaris)
CFLAGS +=
LDFLAGS +=
endif
UNAME_M = $(shell uname -m)
ifeq ($(UNAME_M), x86_64)
CFLAGS +=
LDFLAGS +=
endif
ifneq ($(filter %86, $(UNAME_M)),)
CFLAGS +=
LDFLAGS +=
endif
ifneq ($(filter arm%, $(UNAME_M)),)
CFLAGS +=
LDFLAGS +=
endif
endif endif
# Check if we can build audio # Check if we can build audio