Commit 515d1dfe authored by Serge A. Zaitsev's avatar Serge A. Zaitsev

changed makefile conditionals formatting

parent 3872bfcb
ifeq ($(OS),Windows_NT)
TRAY_CFLAGS := -DTRAY_WINAPI=1
TRAY_LDFLAGS :=
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
else ifeq ($(shell uname -s),Linux)
TRAY_CFLAGS := -DTRAY_APPINDICATOR=1 $(shell pkg-config --cflags appindicator3-0.1)
TRAY_LDFLAGS := $(shell pkg-config --libs appindicator3-0.1)
endif
ifeq ($(UNAME_S),Darwin)
else ifeq ($(shell uname -s),Darwin)
TRAY_CFLAGS := -DTRAY_APPKIT=1 -x objective-c
TRAY_LDFLAGS := -framework Cocoa
endif
endif
CFLAGS := -g -Wall $(TRAY_CFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment