summaryrefslogtreecommitdiffhomepage
path: root/project/arch.mk
blob: aa84a15db939dd5d7588e99d70c0c685d1dbd400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# nt32/nt64
ARCH = nt$(CC_BITS)

# process
src/process/%.lo: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
		$(CC) -c -o $@ $<

src/process/%.o: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
		$(CC) -c -o $@ $<

# seh
src/seh/%.lo: $(SOURCE_DIR)/src/seh/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
		$(CC) -c -o $@ $< $(CFLAGS_SHARED)

src/seh/%.o: $(SOURCE_DIR)/src/seh/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
		$(CC) -c -o $@ $< $(CFLAGS_STATIC)

shared-objs-asm: src/process/tt_fork_v1.lo
shared-objs-asm: src/seh/ntapi_tt_seh_frame.lo

static-objs-asm: src/process/tt_fork_v1.o
static-objs-asm: src/seh/ntapi_tt_seh_frame.o