mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
24 lines
426 B
Makefile
24 lines
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
|
|
|