File: makefile.defs.linux.nogui

package info (click to toggle)
praat 6.1.38-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 120,108 kB
  • sloc: cpp: 776,649; ansic: 269,958; makefile: 883; python: 363; sh: 4
file content (29 lines) | stat: -rw-r--r-- 678 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File: makefile.defs.linux.nogui

# System: Linux without GUI, network, and sound
# Paul Boersma 2020-04-16

CC = gcc

CXX = g++

PKG_CONFIG ?= "pkg-config"

COMMONFLAGS = -DNO_GUI -DNO_NETWORK -D_FILE_OFFSET_BITS=64 `$(PKG_CONFIG) --cflags pangocairo` -DUNIX -Dlinux -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread

CFLAGS = -std=gnu99 $(COMMONFLAGS) -Werror=missing-prototypes -Werror=implicit

CXXFLAGS = -std=c++17 $(COMMONFLAGS) -Wshadow

LINK = $(CXX)

EXECUTABLE = praat_nogui

LIBS = `$(PKG_CONFIG) --libs pangocairo` -lm -static-libgcc -static-libstdc++ -lpthread

AR = ar
RANLIB = ls
ICON =
MAIN_ICON =

INSTALL = cp ./praat_nogui /usr/bin