summaryrefslogtreecommitdiff
path: root/mk/__readonly.d
blob: e2bf78657b98969bc855444a85c14fd0c1ab9625 (plain)
1
2
3
4
5
6
7
8
9
10
libc_C.0: libc.a(__readonly.o)
libc.a(__readonly.o): $(OBJDIR)/__readonly.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/__readonly.o: src/__readonly.c
$(OBJDIR)/__readonly.o: src/_readonly.h
$(OBJDIR)/__readonly.o: src/_syscall.h
$(OBJDIR)/__readonly.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/__readonly.c