--- src/Makefile~ 2001-12-17 12:28:01.000000000 +0100 +++ src/Makefile 2005-03-30 14:59:58.775968139 +0200 @@ -62,7 +62,7 @@ SOBJCORE = server.o udp.o COBJCORE = client.o udp.o -CFLAGSCORE = -O -Wall -Werror +CFLAGSCORE = -O -Wall -Werror -m32 ifeq ($(MCAST),yes) CFLAGS = $(CFLAGSCORE) -DUSE_RMTP_LIB @@ -88,32 +88,32 @@ udp.o:udp.c packet.h udp.h - gcc -c udp.c -o udp.o + gcc $(CFLAGS) -c udp.c -o udp.o delay.o:delay.c server.h - gcc -c delay.c -o delay.o -Wall -Werror + gcc $(CFLAGS) -c delay.c -o delay.o -Wall -Werror buffer.o:buffer.c packet.h buffer.h - gcc -c buffer.c -o buffer.o -Wall -Werror + gcc $(CFLAGS) -c buffer.c -o buffer.o -Wall -Werror ifeq ($(MCAST),yes) multicast_server.o: multicast_server.cpp - g++ -c multicast_server.cpp -o multicast_server.o + g++ $(CFLAGS) -c multicast_server.cpp -o multicast_server.o multicast_client.o: multicast_client.cpp - g++ -c multicast_client.cpp -o multicast_client.o + g++ $(CFLAGS) -c multicast_client.cpp -o multicast_client.o endif ka-d-server: $(SOBJ) - gcc $(SOBJ) -o ka-d-server + gcc $(CFLAGS) -static $(SOBJ) -o ka-d-server # client ka-d-client: $(COBJ) - gcc $(COBJ) -o ka-d-client + gcc $(CFLAGS) -static $(COBJ) -o ka-d-client clean: