Origin for each line in
Makefile
from check-in 69e476dcd5:
0a9369ff13 2019-05-02 1: all: example.so
0a9369ff13 2019-05-02 2:
e90770a5a7 2019-05-02 3: example.c: $(shell find example -type f) $(shell find lib -type f) xvfs.c.rvt xvfs-create Makefile
0a9369ff13 2019-05-02 4: ./xvfs-create --directory example --name example > example.c.new
0a9369ff13 2019-05-02 5: mv example.c.new example.c
0a9369ff13 2019-05-02 6:
e90770a5a7 2019-05-02 7: example.o: example.c xvfs-core.h Makefile
f74a2e47ab 2019-05-02 8: cc -fPIC -Wall -I. -o example.o -c example.c
f74a2e47ab 2019-05-02 9:
69e476dcd5 2019-05-02 10: xvfs-core.o: xvfs-core.c xvfs-core.h Makefile
69e476dcd5 2019-05-02 11: cc -fPIC -Wall -I. -o xvfs-core.o -c xvfs-core.c
69e476dcd5 2019-05-02 12:
69e476dcd5 2019-05-02 13: example.so: example.o xvfs-core.o Makefile
69e476dcd5 2019-05-02 14: cc -fPIC -shared -o example.so example.o xvfs-core.o
e90770a5a7 2019-05-02 15:
f74a2e47ab 2019-05-02 16: test: example.so
f74a2e47ab 2019-05-02 17: echo 'load ./example.so Xvfs_example; puts OK' | tclsh | grep '^OK$$'
0a9369ff13 2019-05-02 18:
0a9369ff13 2019-05-02 19: clean:
0a9369ff13 2019-05-02 20: rm -f example.so example.o example.c
0a9369ff13 2019-05-02 21:
0a9369ff13 2019-05-02 22: distclean: clean
0a9369ff13 2019-05-02 23:
0a9369ff13 2019-05-02 24: .PHONY: all clean distclean test