Diff

Differences From Artifact [9eb3bcec6c]:

To Artifact [10ea439cf8]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: example.so

example.c: $(shell find example -type f) $(shell find lib -type f) xvfs.c.rvt xvfs-create
	./xvfs-create --directory example --name example > example.c.new
	mv example.c.new example.c

example.o: example.c xvfs-core.h
	cc -I. -o example.o -c example.c

example.so: example.o
	cc -shared -o example.so example.o

test:
	@echo not implemented

clean:
	rm -f example.so example.o example.c


|



|
|

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: example.so

example.c: $(shell find example -type f) $(shell find lib -type f) xvfs.c.rvt xvfs-create Makefile
	./xvfs-create --directory example --name example > example.c.new
	mv example.c.new example.c

example.o: example.c xvfs-core.h Makefile
	cc -Wall -I. -o example.o -c example.c

example.so: example.o Makefile
	cc -shared -o example.so example.o

test:
	@echo not implemented

clean:
	rm -f example.so example.o example.c