/[PAMELA software]/quicklook/dataToXML/Makefile
ViewVC logotype

Annotation of /quicklook/dataToXML/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Oct 14 07:42:46 2008 UTC (16 years, 1 month ago) by mocchiut
Branch: MAIN
CVS Tags: HEAD
New PhysEndRun class (chewbacca) needs new PhysEndRunToXML

1 mocchiut 1.1 SHELL = /bin/sh
2     # decide on compiler and flags depending on host
3     CC = g++
4     CFLAGS=-fPIC -pthread
5     ALL_CFLAGS = -Wall -O6 $(CFLAGS) $(PAM_BIT)
6    
7    
8     LIBS = $(PAM_YODA)/lib/libyoda.so `root-config --cflags --glibs`
9     INCS =-I `root-config --incdir` -I$(PAM_INC) -I$(PAM_YODA)/include/yoda/ -I./
10     EXE = header.exe physend.exe
11     # pattern rule to compile object files from C files
12     # might not work with make programs other than GNU make
13     %.o : %.cpp Makefile
14     $(CC) $(ALL_CFLAGS) $(INCS) -c $< -o $@
15    
16     all: $(EXE)
17    
18     OBJS = RunHeaderToXML.o
19     header.exe: $(OBJS) Makefile
20     $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS) $(LIBS) -o RunHeaderToXML
21    
22     OBJS1 = PhysEndRunToXML.o
23     physend.exe: $(OBJS1) Makefile
24     $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o PhysEndRunToXML
25    
26    
27     .PHONY : clean
28     clean:
29     rm -f *.o *.exe

  ViewVC Help
Powered by ViewVC 1.1.23