Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: cb721ac503
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.492 kB
MKDIRS := $(MKDIRS) $(BUILD_TOOLS)
GENINIT := $(BUILD_TOOLS)/geninit$(EXE)
$(GENINIT) : | $(BUILD_TOOLS)
$(GENINIT) : build_tools/geninit.c
$(CC) $(CFLAGS) -o $@ $<
LIB_INIT_O := $(LIB_O:.o=.init.o)
LIB_INIT_C := $(LIB_O:.o=.init.c)
LIB_NAMES := $(sort $(basename $(notdir $(LIB_O))))
$(LIB_INIT_O) : $(BUILD_TOP)/o/%.o : $(BUILD_TOP)/o/%.c
$(CC) $(CFLAGS) -c -o $@ $<
$(LIB_INIT_C) : $(BUILD_TOP)/o/%.init.c : $(BUILD_TOP)/o/%.o $(GENINIT)
objdump -t $< | $(GENINIT) $@ $(LIB_NAMES)
Jump to Line
Something went wrong with that request. Please try again.