pipeplayer/config.mk

29 lines
532 B
Makefile
Raw Normal View History

2022-08-14 01:38:42 +02:00
# Customize below to fit your system
2022-08-08 02:42:22 +02:00
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
# Name of program
VERSION = 1.4.1
2022-08-08 02:42:22 +02:00
NAME = pipeplayer
# Compiler
CC = tcc
PKG_CONFIG = pkg-config
LIBS = -lpthread `$(PKG_CONFIG) -libs libmpg123 ao`
2022-08-14 01:38:42 +02:00
# Options
NOTIFICATION = 1
# Notification support
ifeq ($(NOTIFICATION),1)
NOTIFY_LIBS = `$(PKG_CONFIG) -libs libnotify`
NOTIFY_INCS = `$(PKG_CONFIG) -cflags libnotify`
NOTIFY_SRC = notify.c
endif
2022-08-08 02:42:22 +02:00
# Flags
2022-08-14 01:38:42 +02:00
CFLAGS = -O2 -Wall $(NOTIFY_INCS)
LDFLAGS = -O2 -s $(LIBS) $(NOTIFY_LIBS)