File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,19 @@ OBJ_LIB += $(SRC_LIB_C:.c=.o)
28
28
29
29
DEP_LIB := $(OBJ_LIB:.o=.d)
30
30
31
- -include $(DEP_LIB)
32
-
33
31
LST_LIB := $(SRC_LIB_C:.c=.lst)
34
32
35
33
INCS_LIB := -I$(INCLUDE_LIB) -I$(SRC_LIB) -I$(RES_LIB)
36
34
DEFAULT_FLAGS_LIB := $(EXTRA_FLAGS) -DSGDK_GCC -m68000 -Wall -Wextra -Wno-array-bounds -Wno-shift-negative-value -Wno-unused-parameter -fno-builtin -fms-extensions -ffunction-sections -fdata-sections $(INCS_LIB) -B$(BIN)
37
35
FLAGSZ80_LIB := -i$(SRC_LIB) -i$(INCLUDE_LIB) -i$(INCLUDE_LIB)/snd
38
36
37
+ all: release
38
+ default: release
39
+ Default: release
40
+
41
+ Debug: debug
42
+ Release: release
43
+ Asm: asm
39
44
40
45
#release: FLAGS_LIB= $(DEFAULT_FLAGS_LIB) -Os -fomit-frame-pointer -fuse-linker-plugin -flto -flto=auto -ffat-lto-objects
41
46
release: FLAGS_LIB= $(DEFAULT_FLAGS_LIB) -O3 -fuse-linker-plugin -fno-web -fno-gcse -fomit-frame-pointer -flto -flto=auto -ffat-lto-objects
@@ -53,16 +58,9 @@ asm: CFLAGS_LIB= $(FLAGS_LIB)
53
58
asm: AFLAGS_LIB= $(FLAGS_LIB)
54
59
asm: $(LST_LIB)
55
60
56
- all: release
57
- default: release
58
-
59
- Default: release
60
- Debug: debug
61
- Release: release
62
- Asm: asm
63
-
64
61
.PHONY: clean
65
62
63
+ -include $(DEP_LIB)
66
64
67
65
cleanlst:
68
66
$(RM) -f $(LST_LIB)
You can’t perform that action at this time.
0 commit comments