objects may now be separated from sources M.Z.
SKIPPED: psi/make_gen psi/makefile psi/makefile_alpha psi/makefile_linux psi/hardsup/make_gen psi/hardsup/makefile psi/hardsup/makefile_alpha psi/hardsup/makefile_linux psi/tecs/make_gen psi/tecs/makefile psi/tecs/makefile_linux
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
# Markus Zolliker March 2003
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
VPATH=$(SRC)
|
||||
|
||||
COBJ = Sclient.o network.o ifile.o intcli.o $(FORTIFYOBJ)
|
||||
SOBJ = network.o ifile.o conman.o SCinter.o splitter.o passwd.o \
|
||||
servlog.o sicvar.o nserver.o SICSmain.o \
|
||||
@ -38,30 +40,25 @@ VELOOBJ = velo.o velosim.o
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .tcl .htm .c .o
|
||||
|
||||
# the following lines are not compatible with GNUmake using VPATH
|
||||
# they are not needed, as they are defined by default
|
||||
#.c.o:
|
||||
# $(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
all: $(BINTARGET)/SICServer
|
||||
all: SICServer
|
||||
|
||||
full: matrix/libmatrix.a dummy/libdummy.a $(BINTARGET)/SICServer
|
||||
full: matrix/libmatrix.a dummy/libdummy.a SICServer
|
||||
|
||||
$(BINTARGET)/SICServer: $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) \
|
||||
SICServer: $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) \
|
||||
$(VELOOBJ) $(DIFIL) $(EXTRA) \
|
||||
$(SUBLIBS)
|
||||
$(CC) -g -o SICServer \
|
||||
$(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) \
|
||||
$(VELOOBJ) $(DIFOBJ) $(EXTRA) $(LIBS)
|
||||
cp SICServer $(BINTARGET)/
|
||||
|
||||
matrix/libmatrix.a:
|
||||
cd matrix; make $(MFLAGS) libmatrix.a
|
||||
|
||||
dummy/libdummy.a:
|
||||
cd dummy; make $(MFLAGS)
|
||||
cd dummy; make $(MFLAGS) libdummy.a
|
||||
|
||||
clean:
|
||||
rm -f *.o SICServer $(BINTARGET)/SICServer
|
||||
rm -f *.o SICServer
|
||||
cd matrix; make $(MFLAGS) clean
|
||||
cd dummy; make $(MFLAGS) clean
|
||||
|
||||
|
Reference in New Issue
Block a user