summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-01-25 15:57:10 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-01-25 15:57:10 +0000
commitf2e34f162af326aace8ca6d9d0ca26e1159b3706 (patch)
treeafcea0dee7cba7ec9d514fa56c6107b35af28dde /src
parent6b884b930a9e1b7016f4e1a8967466cb9536ce45 (diff)
downloadubox-msx-lib-f2e34f162af326aace8ca6d9d0ca26e1159b3706.tar.gz
ubox-msx-lib-f2e34f162af326aace8ca6d9d0ca26e1159b3706.zip
Reviewed makefiles
Diffstat (limited to 'src')
-rw-r--r--src/ap/Makefile10
-rw-r--r--src/mplayer/Makefile10
-rw-r--r--src/spman/Makefile12
-rw-r--r--src/ubox/Makefile10
4 files changed, 21 insertions, 21 deletions
diff --git a/src/ap/Makefile b/src/ap/Makefile
index 3559f71..1065466 100644
--- a/src/ap/Makefile
+++ b/src/ap/Makefile
@@ -1,11 +1,11 @@
-LIB = ../../lib/ap.lib
+LIB := ../../lib/ap.lib
all: $(LIB)
-AS = sdasz80
-AR = sdar
+AS := sdasz80
+AR := sdar
-SOURCES = ap.z80
-OBJS = $(patsubst %.z80,%.rel,$(SOURCES))
+SOURCES := ap.z80
+OBJS := $(patsubst %.z80,%.rel,$(SOURCES))
$(LIB): $(OBJS)
$(AR) -rcD $(LIB) $(OBJS)
diff --git a/src/mplayer/Makefile b/src/mplayer/Makefile
index 81e099b..cf642f8 100644
--- a/src/mplayer/Makefile
+++ b/src/mplayer/Makefile
@@ -1,11 +1,11 @@
-LIB=../../lib/mplayer.lib
+LIB := ../../lib/mplayer.lib
all: $(LIB)
-AS=sdasz80
-AR=sdar
+AS := sdasz80
+AR := sdar
-SOURCES=$(wildcard *.z80)
-OBJS=$(patsubst %.z80,%.rel,$(SOURCES))
+SOURCES := $(wildcard *.z80)
+OBJS := $(patsubst %.z80,%.rel,$(SOURCES))
$(LIB): $(OBJS)
$(AR) -rcD $(LIB) $(OBJS)
diff --git a/src/spman/Makefile b/src/spman/Makefile
index b2bc5df..49b7de9 100644
--- a/src/spman/Makefile
+++ b/src/spman/Makefile
@@ -1,12 +1,12 @@
-LIB=../../lib/spman.lib
+LIB := ../../lib/spman.lib
all: $(LIB)
-CC=sdcc
-AR=sdar
-CFLAGS=-mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed
+CC := sdcc
+AR := sdar
+CFLAGS := -mz80 --Werror -I../../include --fsigned-char --std-sdcc99 --opt-code-speed
-SOURCES=$(wildcard *.c)
-OBJS=$(patsubst %.c,%.rel,$(SOURCES))
+SOURCES := $(wildcard *.c)
+OBJS := $(patsubst %.c,%.rel,$(SOURCES))
$(LIB): $(OBJS)
$(AR) -rcD $(LIB) $(OBJS)
diff --git a/src/ubox/Makefile b/src/ubox/Makefile
index a597090..1d8e27e 100644
--- a/src/ubox/Makefile
+++ b/src/ubox/Makefile
@@ -1,11 +1,11 @@
-LIB=../../lib/ubox.lib
+LIB := ../../lib/ubox.lib
all: $(LIB)
-AS=sdasz80
-AR=sdar
+AS := sdasz80
+AR := sdar
-SOURCES=$(wildcard ubox_*.z80)
-OBJS=$(patsubst %.z80,%.rel,$(SOURCES))
+SOURCES := $(wildcard ubox_*.z80)
+OBJS := $(patsubst %.z80,%.rel,$(SOURCES))
$(LIB): $(OBJS)
$(AR) -rcD $(LIB) $(OBJS)