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,18 +18,6 @@ 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)
CFLAGS +=
LDFLAGS +=
ifeq ($(PROCESSOR_ARCHITECTURE), AMD64)
CFLAGS +=
LDFLAGS +=
endif
ifeq ($(PROCESSOR_ARCHITECTURE), x86)
CFLAGS +=
LDFLAGS +=
endif
else
UNAME_S = $(shell uname -s) UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S), Linux) ifeq ($(UNAME_S), Linux)
CFLAGS += CFLAGS +=
@ -43,6 +31,8 @@ else
CFLAGS += CFLAGS +=
LDFLAGS += LDFLAGS +=
endif endif
# Check on which platform we are running
UNAME_M = $(shell uname -m) UNAME_M = $(shell uname -m)
ifeq ($(UNAME_M), x86_64) ifeq ($(UNAME_M), x86_64)
CFLAGS += CFLAGS +=
@ -56,7 +46,6 @@ else
CFLAGS += CFLAGS +=
LDFLAGS += LDFLAGS +=
endif endif
endif
# Check if we can build audio # Check if we can build audio
CHECK_AUDIO_LIBS = $(shell pkg-config $(AUDIO_LIBS) || echo -n "error") CHECK_AUDIO_LIBS = $(shell pkg-config $(AUDIO_LIBS) || echo -n "error")