Alpine3D

Alpine3D Svn Source Tree

Root/trunk/alpine3d/runoff/Makefile.inc

1#/***********************************************************************************/
2#/* Swiss Federal Institute for Snow and Avalanche Research SLF-DAVOS */
3# -----------------------------------------------------------------------------
4# GENERAL INFO AUTHORS: PERRY BARTELT and MICHAEL LEHNING SLF-DAVOS
5# -----------------------------------------------------------------------------
6#/**********************************************************************************/
7#/* RESEARCH VERSION 3.0 */
8#/* Corresponds to OPERATIONAL VERSION 4.1 */
9#/**********************************************************************************/
10
11######## Sources, objects, headers
12RUNOFF_OBJ =$(RUNOFFDIR)/Runoff.o
13#RUNOFF_OBJ_POPC = $(COMMONDIR)/marshal_Alpine3D_par.o
14
15####### Build rules
16
17runoff: $(RUNOFFDIR)/librunoff.a
18
19#runoff_par: $(RUNOFF_OBJ_POPC) runoff_lib_par
20
21#runoff_lib_par: $(RUNOFFDIR)/librunoffpopc.a
22
23#runoff_module_par: $(RUNOFFDIR)/libcommonpopc.a
24
25runoff_clean:
26-$(DEL_FILE) $(RUNOFFDIR)/*~ $(RUNOFFDIR)/core $(RUNOFFDIR)/*.core $(RUNOFFDIR)/*.a $(RUNOFFDIR)/*.o $(RUNOFFDIR)/*.module
27-$(DEL_FILE) $(RUNOFFDIR)/_par*
28
29####### Compile
30$(RUNOFFDIR)/librunoff.a: $(RUNOFF_OBJ)
31ar -r $@ $(RUNOFF_OBJ)
32ranlib $@
33
34#$(RUNOFFDIR)/libcommonpopc.a: $(RUNOFF_OBJ_POPC) $(RUNOFF_OBJ)
35#ar -r $@ $(RUNOFF_OBJ_POPC) $(RUNOFF_OBJ)
36#ranlib $@
37
38#$(RUNOFF_OBJ_POPC): %_par.o : %.cc
39#$(POPCC) $(CCFLAGS) -c $< -o $@
40

Archive Download this file

Revision: HEAD