Changeset 44 for drsdaq/Makefile


Ignore:
Timestamp:
05/19/09 15:57:30 (16 years ago)
Author:
ogrimm
Message:
Raw data format streamlined, revision tracking in run header
File:
1 edited

Legend:

Unmodified
Added
Removed
  • drsdaq/Makefile

    r36 r44  
    1212SOURCES = HVFeedback.cc DAQReadout.cc RawDataCTX.cc SlowData.cc ../pixelmap/Pixel.cc ../pixelmap/PixelMap.cc DRS/DRS.cc DRS/mxml.c DRS/strlcpy.c drsdaq.cpp
    1313OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
     14INCDIRS   = -I. -IDRS -I../pixelmap
    1415
    15 INCDIRS   = -I. -IDRS -I../pixelmap
     16REVISION = $(shell svnversion -n)
    1617
    1718ifeq ($(VMECTRL),-DCT_VME)
     
    2425endif
    2526
    26 CFLAGS = -pipe -fthread-jumps -funroll-all-loops -O3 -Wall -DOS_LINUX
    27 CPPFLAGS = -pipe -fPIC -fthread-jumps -funroll-all-loops -O3 -Wall -DOS_LINUX $(VMECTRL)
     27CPPFLAGS = -DREVISION='"$(REVISION)"' -O3 -Wall $(VMECTRL)
    2828LIBS = -lstdc++ -lz -lpthread -lutil -lfl $(VMELIB)
    2929
     
    4141
    4242%.o : %.c
    43         $(CC) $(CFLAGS) $(INCDIRS) -c -o $@ $<
     43        $(CC) $(CPPFLAGS) $(INCDIRS) -c -o $@ $<
    4444%.o : %.cc
    4545        $(CC) $(CPPFLAGS) $(INCDIRS) -c -o $@ $<
Note: See TracChangeset for help on using the changeset viewer.