summaryrefslogtreecommitdiff
path: root/mk/shm_open.d
blob: e50b20399c49eca0cba77370ae1430f19a913ef9 (plain)
1
2
3
4
5
6
7
8
libc_P.199309: libc.a(shm_open.o)
libc.a(shm_open.o): $(OBJDIR)/shm_open.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/shm_open.o: src/sys/mman/shm_open.c
$(OBJDIR)/shm_open.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/sys/mman/shm_open.c