Update of /cvsroot/netrek/client/cow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16041 Modified Files: system.mk.in Log Message: cow's Makefile is pretty convoluted and under normal(?) circumstances requires 2 builds. At least under debian. Change the depends to make a 1 time build possible which makes using pbuilder easier :-) Index: system.mk.in =================================================================== RCS file: /cvsroot/netrek/client/cow/system.mk.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- system.mk.in 27 Jan 2006 09:57:27 -0000 1.6 +++ system.mk.in 31 Jan 2006 18:34:06 -0000 1.7 @@ -111,7 +111,7 @@ LFLAGS = $(EXTRALINKFLAGS) LIBRARIES = $(LMP) $(LIBS) $(EXTRALIBS) $(SDL_LIBS) $(SDL_MIXER_LIBS) -netrek: $(PMAKE) null $(ROBJ) $(MAINOBJ) $(RSAOBJ) $(INPUTOBJ) $(X11OBJ) $(WIN32OBJ) $(RANDOMOBJ) cflags.c randomize +netrek: $(RSAOBJ) $(PMAKE) null $(ROBJ) $(MAINOBJ) $(INPUTOBJ) $(X11OBJ) $(WIN32OBJ) $(RANDOMOBJ) cflags.c randomize $(CC) $(LFLAGS) -o netrek `./randomize $(ROBJ) $(RSAOBJ) $(INPUTOBJ) \ $(MAINOBJ) $(X11OBJ) $(WIN32OBJ) $(RANDOMOBJ)` $(LIBRARIES) @@ -125,7 +125,8 @@ $(LN) $(COWLIB) $(SL_LIB) $(TOUCH) done.libcow -rsa_box.c: mkkey $(SECKEYFILE) +#rsa_box.c: mkkey $(SECKEYFILE) +$(RSASRC): mkkey $(SECKEYFILE) -$(RM) $(RSASRC) ./mkkey -c -k $(SECKEYFILE) $(TOUCH) $(RSASRC)