[Coin-symphony] Compiling Symphony 4.0.0 on debian Linux

bremner at unb.ca bremner at unb.ca
Thu Nov 16 16:46:40 EST 2006


Following Ted's suggestion, I started porting to Symphony 5.1.0

I wanted to report a nasty experience I had.

I added a file to ADDSOURCES

A bit later I ran "make clean" and that file was deleted

This is because of the following.

USER_MASTER_OBJS   = src/Master/user_main.o \
	src/Master/user_master.o $(ADDSOURCES)

ALL_OBJS =   src/Master/user_main.o src/Master/user_master.o\
	$(ADDSOURCES) src/LP/user_lp_branch.o src/LP/user_lp.o \
	$(USER_CG_OBJS) $(USER_CP_OBJS) $(USER_DG_OBJS)


clean:
	rm -rf $(WHATTOMAKE) $(ALL_OBJS) $(PALL_OBJS)


My solution was to replace ADDSOURCES with ADDOBJS, which seems to
work ok, e.g.

	ADDOBJS=hypergraph.o

replacing 
	ADDSOURCES=hypergraph.c







More information about the Symphony mailing list