make phold.seq now works
authorTerry L. Wilmarth <wilmarth@uiuc.edu>
Fri, 10 Feb 2006 21:58:42 +0000 (21:58 +0000)
committerTerry L. Wilmarth <wilmarth@uiuc.edu>
Fri, 10 Feb 2006 21:58:42 +0000 (21:58 +0000)
examples/pose/PHOLD/Makefile

index abd89e02327ce1dbe81c76406e4af9bb8be40b69..4f68f8132113263c286ded3e7c99976188572d67 100644 (file)
@@ -52,9 +52,9 @@ $(PGM):       $(SIM_OBJECTS)
        $(CHARMC) $(SIM_OBJECTS) $(OTHER) $(LIBS) -o $(PGM) \
        -module pose -language charm++
 
-$(PGM).seq:    $(SIM_OBJECTS) 
+$(PGM).seq: seqobjs
        $(CHARMC) $(SIM_OBJECTS) $(OTHER) $(LIBS) -o $(PGM).seq \
-       -module seqpose -language charm++
+       -DSEQUENTIAL_POSE=1 -module seqpose -language charm++
 
 $(PGM).seq.proj:       $(SIM_OBJECTS) 
        $(CHARMC) $(SIM_OBJECTS) $(OTHER) $(LIBS) -o $(PGM).seq.proj \
@@ -120,5 +120,14 @@ Worker.def.h Worker.decl.h : Worker_sim.ci
 Worker_sim.C Worker_sim.h Worker_sim.ci: Worker.C Worker.h Worker.ci 
        $(CHARMBIN)/etrans.pl Worker
 
+seqobjs: seqtrans
+       $(CHARMC) $(INCLUDES) $(LIBS) Worker_sim.ci
+       $(CHARMC) -c $(LIBS) $(INCLUDES) -I$(CHARMINC) -DSEQUENTIAL_POSE=1 Worker_sim.C
+       $(CHARMC) $(INCLUDES) $(LIBS) $(PGM).ci
+       $(CHARMC) -c -I$(CHARMINC) $(INCLUDES) $(LIBS) -DSEQUENTIAL_POSE=1 $(PGM).C
+
+seqtrans: Worker.C Worker.h Worker.ci
+       $(CHARMBIN)/etrans.pl -s Worker
+
 test:
        ./pgm 1000 100 SMALL 50 -gf 200