зеркало из https://github.com/mozilla/pjs.git
24 строки
426 B
Makefile
24 строки
426 B
Makefile
DEPTH = ../../../..
|
|
|
|
CSRCS = dirver.c
|
|
|
|
include $(DEPTH)/config/rules.mk
|
|
|
|
TARGETS = $(OBJDIR)/dirver$(BIN_SUFFIX)
|
|
|
|
GARBAGE += $(TARGETS)
|
|
|
|
ifeq ($(OS_ARCH), OS2)
|
|
$(OBJS) = $(addprefix $(OBJDIR)/, $(CSRCS:.c=.o))
|
|
|
|
$(TARGETS): $(OBJS)
|
|
@$(MAKE_OBJDIR)
|
|
$(LINK_EXE) -OUT:$@ $(OBJS)
|
|
endif
|
|
|
|
export:: $(TARGETS)
|
|
$(INSTALL) -m 555 $(TARGETS) $(DIST)/bin
|
|
|
|
install:: export
|
|
|