From f2e34f162af326aace8ca6d9d0ca26e1159b3706 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 25 Jan 2021 15:57:10 +0000 Subject: Reviewed makefiles --- src/spman/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/spman') 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) -- cgit v1.2.3