summaryrefslogtreecommitdiffhomepage
path: root/project/arch.mk
blob: 750987b21919851ba44cc6bbf862fa9bea947ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# mingw
ifeq ($(ARCH),w32)
	ARCH = nt32
else ifeq ($(ARCH),w64)
	ARCH = nt64
endif

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

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