From: Mike F. <va...@us...> - 2006-07-04 22:29:07
|
Update of /cvsroot/ltp/ltp/tools/netpipe-2.4 In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2980/netpipe-2.4 Modified Files: Makefile Log Message: clean up makefile funkiness Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/tools/netpipe-2.4/Makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Makefile 8 Feb 2006 21:08:44 -0000 1.12 --- Makefile 4 Jul 2006 22:29:03 -0000 1.13 *************** *** 25,31 **** #EXTRA_LIBS = -lgcc ! targets: $(TARGETS) ! ! all: targets install: --- 25,29 ---- #EXTRA_LIBS = -lgcc ! all: $(TARGETS) install: *************** *** 40,50 **** NPtcp: NPtcp.o TCP.o ! @set -e;$(CC) $(CFLAGS) NPtcp.o TCP.o -o NPtcp $(EXTRA_LIBS) NPtcp.o: $(DRIV_SRC) $(INCLUDES) ! @set -e;$(CC) $(CFLAGS) -DTCP -c -o NPtcp.o $(DRIV_SRC) TCP.o: TCP.c TCP.h $(INCLUDES) ! @set -e;$(CC) $(CFLAGS) -DTCP -c TCP.c MPI: NPmpi --- 38,48 ---- NPtcp: NPtcp.o TCP.o ! $(CC) $(CFLAGS) NPtcp.o TCP.o -o NPtcp $(EXTRA_LIBS) NPtcp.o: $(DRIV_SRC) $(INCLUDES) ! $(CC) $(CFLAGS) -DTCP -c -o NPtcp.o $(DRIV_SRC) TCP.o: TCP.c TCP.h $(INCLUDES) ! $(CC) $(CFLAGS) -DTCP -c TCP.c MPI: NPmpi *************** *** 52,62 **** NPmpi: NPmpi.o MPI.o ! @set -e;$(CC) $(CFLAGS) NPmpi.o MPI.o -o NPmpi -L $(MPI_HOME)/lib/$(MPI_ARCH)/$(MPI_DEVICE) -lmpi $(EXTRA_LIBS) NPmpi.o: $(DRIV_SRC) $(INCLUDES) ! @set -e;$(CC) $(CFLAGS) -DMPI -I$(MPI_HOME)/include -c -o NPmpi.o $(DRIV_SRC) MPI.o: MPI.c MPI.h $(INCLUDES) ! @set -e;$(CC) $(CFLAGS) -DMPI -I$(MPI_HOME)/include -c MPI.c PVM: NPpvm --- 50,60 ---- NPmpi: NPmpi.o MPI.o ! $(CC) $(CFLAGS) NPmpi.o MPI.o -o NPmpi -L $(MPI_HOME)/lib/$(MPI_ARCH)/$(MPI_DEVICE) -lmpi $(EXTRA_LIBS) NPmpi.o: $(DRIV_SRC) $(INCLUDES) ! $(CC) $(CFLAGS) -DMPI -I$(MPI_HOME)/include -c -o NPmpi.o $(DRIV_SRC) MPI.o: MPI.c MPI.h $(INCLUDES) ! $(CC) $(CFLAGS) -DMPI -I$(MPI_HOME)/include -c MPI.c PVM: NPpvm *************** *** 64,74 **** NPpvm: NPpvm.o PVM.o ! @set -e;$(CC) $(CFLAGS) NPpvm.o PVM.o -o NPpvm -L$(PVM_HOME)/lib/$(PVM_ARCH)/ -lpvm3 $(EXTRA_LIBS) NPpvm.o: $(DRIV_SRC) $(INCLUDES) ! @set -e;$(CC) $(CFLAGS) -DPVM -I$(PVM_HOME)/include -c -o NPpvm.o $(DRIV_SRC) PVM.o: PVM.c PVM.h $(INCLUDES) ! @set -e;$(CC) $(CFLAGS) -DPVM -I$(PVM_HOME)/include -c PVM.c clean: --- 62,72 ---- NPpvm: NPpvm.o PVM.o ! $(CC) $(CFLAGS) NPpvm.o PVM.o -o NPpvm -L$(PVM_HOME)/lib/$(PVM_ARCH)/ -lpvm3 $(EXTRA_LIBS) NPpvm.o: $(DRIV_SRC) $(INCLUDES) ! $(CC) $(CFLAGS) -DPVM -I$(PVM_HOME)/include -c -o NPpvm.o $(DRIV_SRC) PVM.o: PVM.c PVM.h $(INCLUDES) ! $(CC) $(CFLAGS) -DPVM -I$(PVM_HOME)/include -c PVM.c clean: |