summaryrefslogtreecommitdiff
path: root/mk/enter_protected_mode.d
blob: 5c9bff10d7ac9fe943f7496ba6f08dd6c68b682f (plain)
1
2
3
4
5
6
7
8
libcurses.a: libcurses.a(enter_protected_mode.o)
libcurses.a(enter_protected_mode.o): $(OBJDIR)/enter_protected_mode.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/enter_protected_mode.o: term/enter_protected_mode.c
	@echo "[CC] $@"
	@mkdir -p "$(@D)"
	@$(CC) -c -o $@ $(CFLAGS) term/enter_protected_mode.c