summaryrefslogtreecommitdiffhomepage
path: root/project/arch.mk
blob: 8aab40da7fef5b7116d14d3c151ec330ae74d3a0 (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: $(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 $@ $<