forked from Yadciel/c_tray
changed makefile conditionals formatting
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,17 +1,13 @@
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user