mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
oops
This commit is contained in:
parent
68fd12f52c
commit
7de040abf9
1 changed files with 6 additions and 6 deletions
|
@ -12,20 +12,20 @@ LDFLAGS=-lm
|
|||
RINCLUDES=$(PREFIX)/RIncludes
|
||||
REZFLAGS=-I$(RINCLUDES)
|
||||
|
||||
SOURCE_DIR := src
|
||||
C_SOURCES := $(wildcard $(SOURCE_DIR)/*.c)
|
||||
C_OBJECTS := $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(C_SOURCES))
|
||||
|
||||
ifdef ARCH_68040
|
||||
TARGET := ClassiCube-68040
|
||||
BUILD_DIR := build-68k
|
||||
BUILD_DIR := build-68040
|
||||
CFLAGS += -march=68040
|
||||
else
|
||||
TARGET := ClassiCube-68k
|
||||
BUILD_DIR := build-68040
|
||||
BUILD_DIR := build-68k
|
||||
CFLAGS += -DCC_BUILD_NOFPU
|
||||
endif
|
||||
|
||||
SOURCE_DIR := src
|
||||
C_SOURCES := $(wildcard $(SOURCE_DIR)/*.c)
|
||||
C_OBJECTS := $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(C_SOURCES))
|
||||
|
||||
# Dependency tracking
|
||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(C_OBJECTS:%.o=%.d)
|
||||
|
|
Loading…
Reference in a new issue