Commit a18deaf9 authored by OP's avatar OP
Browse files

new makefile

parent a80144e1
......@@ -6,15 +6,15 @@ OBJ = ./Objs/
EXE = ./Objs/
# List of include files of this package, and .o files to handle dependencies
MYINCLISTHERE = p4autils.h visip4reader.h visp4winreader.h p4gnugain.h
MYOLISTHERE = $(OBJ)/p4autils.o $(OBJ)/visip4reader.o $(OBJ)/visp4winreader.o $(OBJ)/p4gnugain.o
MYINCLISTHERE = p4autils.h visip4reader.h visp4winreader.h p4gnugain.h p4gvcor.h
MYOLISTHERE = $(OBJ)/p4autils.o $(OBJ)/visip4reader.o $(OBJ)/visp4winreader.o $(OBJ)/p4gnugain.o $(OBJ)/p4gvcor.o
# Define our target list
all : rdvisip4 visi2ntac visi2dtacx visi2tmfreq p4conv2fits msvis2dt visiavg
all : rdvisip4 visi2ntac visi2dtacx visi2tmfreq p4conv2fits msvis2dt visiavg filt_blind
clean :
rm -f $(EXE)/rdvisip4 $(EXE)/visi2ntac $(EXE)/visi2dtacx $(EXE)/visi2tmfreq $(EXE)/p4conv2fits $(EXE)/msvis2dt $(EXE)/visiavg
rm -f $(OBJ)/rdvisip4.o $(OBJ)/visi2ntac.o $(OBJ)/visi2dtacx.o $(OBJ)/visi2tmfreq.o $(OBJ)/p4conv2fits.o $(OBJ)/msvis2dt.o $(OBJ)/visiavg.o
rm -f $(EXE)/rdvisip4 $(EXE)/visi2ntac $(EXE)/visi2dtacx $(EXE)/visi2tmfreq $(EXE)/p4conv2fits $(EXE)/msvis2dt $(EXE)/visiavg $(EXE)/filt_blind
rm -f $(OBJ)/rdvisip4.o $(OBJ)/visi2ntac.o $(OBJ)/visi2dtacx.o $(OBJ)/visi2tmfreq.o $(OBJ)/p4conv2fits.o $(OBJ)/msvis2dt.o $(OBJ)/visiavg.o $(OBJ)/filt_blind.o
rm -f $(MYOLISTHERE)
depend :
......@@ -38,6 +38,9 @@ $(OBJ)/visp4winreader.o : visp4winreader.cc $(MYINCLISTHERE)
######
$(OBJ)/p4gnugain.o : p4gnugain.cc $(MYINCLISTHERE)
$(CXXCOMPILE) -o $(OBJ)/p4gnugain.o p4gnugain.cc
######
$(OBJ)/p4gvcor.o : p4gvcor.cc $(MYINCLISTHERE)
$(CXXCOMPILE) -o $(OBJ)/p4gvcor.o p4gvcor.cc
###############################################################
###### Compilation et link des executables
......@@ -51,6 +54,17 @@ $(EXE)/visiavg : $(OBJ)/visiavg.o $(MYOLISTHERE)
$(OBJ)/visiavg.o : visiavg.cc $(MYINCLISTHERE)
$(CXXCOMPILE) -o $(OBJ)/visiavg.o visiavg.cc
## filtrage median dun canal
filt_blind : $(EXE)/filt_blind
echo '---filt_blind made'
$(EXE)/filt_blind : $(OBJ)/filt_blind.o $(MYOLISTHERE)
$(CXXLINK) -o $(EXE)/filt_blind $(OBJ)/filt_blind.o $(MYOLISTHERE) $(SOPHYAEXTSLBLIST)
$(OBJ)/filt_blind.o : filt_blind.cc $(MYINCLISTHERE)
$(CXXCOMPILE) -o $(OBJ)/filt_blind.o filt_blind.cc
## programme de remplissage de DataTable avec cross-correlation fct du temps
visi2dtacx : $(EXE)/visi2dtacx
echo '---visi2dtacx made'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment