mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 16:13:02 +01:00
Makefile: remove Windows support and bump version
This commit is contained in:
parent
47b9648f85
commit
7b8cf65218
17
src/Makefile
17
src/Makefile
@ -1,4 +1,4 @@
|
||||
TOXIC_VERSION = 0.4.1
|
||||
TOXIC_VERSION = 0.4.2
|
||||
REV = $(shell git rev-list HEAD --count)
|
||||
VERSION = $(TOXIC_VERSION)_r$(REV)
|
||||
|
||||
@ -18,18 +18,6 @@ AUDIO_CFLAGS = -D_SUPPORT_AUDIO
|
||||
AUDIO_OBJ = device.o audio_call.o
|
||||
|
||||
# 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)
|
||||
ifeq ($(UNAME_S), Linux)
|
||||
CFLAGS +=
|
||||
@ -43,6 +31,8 @@ else
|
||||
CFLAGS +=
|
||||
LDFLAGS +=
|
||||
endif
|
||||
|
||||
# Check on which platform we are running
|
||||
UNAME_M = $(shell uname -m)
|
||||
ifeq ($(UNAME_M), x86_64)
|
||||
CFLAGS +=
|
||||
@ -56,7 +46,6 @@ else
|
||||
CFLAGS +=
|
||||
LDFLAGS +=
|
||||
endif
|
||||
endif
|
||||
|
||||
# Check if we can build audio
|
||||
CHECK_AUDIO_LIBS = $(shell pkg-config $(AUDIO_LIBS) || echo -n "error")
|
||||
|
Loading…
Reference in New Issue
Block a user