-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.linux_x86_64
50 lines (36 loc) · 1.35 KB
/
Makefile.linux_x86_64
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Linux system-specific definitions for aged Makefile
#
# Note: VERFLAGS must be defined externally
#
# Phil Harvey - 12/2/98
#
BASE = .
INCLUDE = -I$(BASE)
PROJFLAGS = $(VERFLAGS) -DANTI_ALIAS
CFLAGS = -g -O0 -D_BSD=43 $(PROJFLAGS)
CXXFLAGS = -g -O0 -Wno-write-strings -Wall $(PROJFLAGS)
PICFLAG = -fPIC
LDFLAGS = -g
LIBS = -lm -lpthread
CCC = g++
CC = cc
LD = ld
LDCC = g++
LDCC_SHARED = g++
LDSO_FLAGS = -shared -elf
CC_LD_FLAGS = -shared -elf
XINCS = -I/usr/X11R6/include/X11/ -I/usr/X11R6/include
XFLAGS = $(XINCS) $(shell freetype-config --cflags)
XLIBS = -L/usr/X11R6/lib -lXm -lXp -lXmu -lXft -lXt -lXrender -lX11
ROOTINCS = -I$(ROOTSYS)/include -I$(ANALYSIS_TPC)/include -I$(AGANA) -I$(GARFIELDPP)\
-I$(AGTPC_ANALYSIS) -I$(SOURCE_TPC)/include -I$(ROOTANASYS)/include
ROOTFLAGS = -std=c++11 -fPIC $(ROOTINCS)
ROOTLIBS = $(shell root-config --libs) -lMinuit -L$(ANALYSIS_TPC) -lAGUTILS
OS_OBJS =
OS_ROOTOBJS =
include Makefile.include
NextEvent.o: linux_patch/NextEvent.c
$(CC) $(CFLAGS) $(PICFLAG) $(INCLUDE) $(XFLAGS) -I./linux_patch -c linux_patch/NextEvent.c
RowColumn.o: linux_patch/RowColumn.c
$(CC) $(CFLAGS) $(PICFLAG) $(INCLUDE) $(XFLAGS) -I./linux_patch -c linux_patch/RowColumn.c