TARGETS = PX14_VLBI_E PX14_VLBI_I PX14_VLBI_SS px14_record px14_auto px14_auto_dada recdir smhClean .PHONY : tidy clean distclean all all: $(TARGETS) IPPROOT = /opt/intel IPPINC = -I$(IPPROOT)/ipp/include IPPLIB = -L$(IPPROOT)/ipp/lib/intel64 -L$(IPPROOT)/lib/intel64 -lipps -lippcore -liomp5 -lippace9 px14_record: px14_record.c ../vsib/tstamp.c sQueue.c ../util/mk5blib.c ../util/vdif.c ../vsib/vheader.c sh.h gcc -O2 -ffast-math -Wall -g $^ -o $@ -lsig_px14400 $(IPPINC) $(IPPLIB) -lpthread px14_record_test: px14_record.c tstamp.c sQueue.c mk5blib.c vdif.c vheader.c gcc -O2 -I. -ffast-math -Wall -g $^ -o $@ -DNOCARD $(IPPINC) $(IPPLIB) -lpthread px14_auto: px14_auto.c tstamp.c sQueue.c gcc -O2 -I. -ffast-math -Wall -g $^ -o $@ -lsig_px14400 $(IPPINC) $(IPPLIB) -lpthread -lcpgplot px14_auto_dada: px14_auto_dada.c tstamp.c sQueue.c gcc -I. -ffast-math -Wall -g $^ -o $@ -lsig_px14400 $(IPPINC) $(IPPLIB) -lpthread -lcpgplot px14_auto_test: px14_auto.c tstamp.c sQueue.c gcc -O2 -I. -ffast-math -Wall -g $^ -o $@ -DNOCARD $(IPPINC) $(IPPLIB) -lpthread -lcpgplot tidy : rm -f *~ clean : tidy rm -f *~ *.o distclean : clean rm -f $(TARGETS)