home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
octave-1.1.1p1-src.tgz
/
tar.out
/
fsf
/
octave
/
dld
/
test
/
reload
/
Makefile
next >
Wrap
Makefile
|
1996-09-28
|
430b
|
25 lines
EXEC = reload reload-test
LIB = ../../libdld.a
INCLUDE = ../../dld.h
CC= gcc
CFLAGS = -g -I../..
all: ${EXEC}
clean:
rm -f ${EXEC} *.o
${LIB}: ../../dld.c $(INCLUDE)
cd ../..; make
.c.o:
${CC} -c ${CFLAGS} $*.c
reload: $(LIB) $(INCLUDE) reload.o reload-test
${CC} ${CFLAGS} reload.o $(LIB) -o reload
reload-test: reload-test.o
# ld -r reload-test.o /lib/libc.a -o reload-test
ld -r reload-test.o -o reload-test #linux