|
|
7b83a9 |
# mingw
|
|
|
7b83a9 |
ifeq ($(ARCH),w32)
|
|
|
7b83a9 |
ARCH = nt32
|
|
|
7b83a9 |
else ifeq ($(ARCH),w64)
|
|
|
7b83a9 |
ARCH = nt64
|
|
|
7b83a9 |
endif
|
|
|
7b83a9 |
|
|
|
7b83a9 |
# process
|
|
|
ada2de |
src/process/%.lo: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
|
|
|
7b83a9 |
$(CC) -c -o $@ $<
|
|
|
7b83a9 |
|
|
|
ada2de |
src/process/%.o: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
|
|
|
7b83a9 |
$(CC) -c -o $@ $<
|
|
|
9d2bb7 |
|
|
|
cd4191 |
# seh
|
|
|
cd4191 |
src/seh/%.lo: $(SOURCE_DIR)/src/seh/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
|
|
|
cd4191 |
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
|
|
|
cd4191 |
|
|
|
cd4191 |
src/seh/%.o: $(SOURCE_DIR)/src/seh/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
|
|
|
cd4191 |
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
|
|
|
cd4191 |
|
|
|
9d2bb7 |
shared-objs-asm: src/process/tt_fork_v1.lo
|
|
|
cd4191 |
shared-objs-asm: src/seh/ntapi_tt_seh_frame.lo
|
|
|
9d2bb7 |
|
|
|
9d2bb7 |
static-objs-asm: src/process/tt_fork_v1.o
|
|
|
cd4191 |
static-objs-asm: src/seh/ntapi_tt_seh_frame.o
|