Tweaked a build var name

This commit is contained in:
2022-09-18 07:26:23 +01:00
parent 64cc514171
commit c680427b1e
4 changed files with 21 additions and 21 deletions

View File

@@ -8,10 +8,10 @@ ODIR = obj
SRC = $(wildcard *.c)
OBJ = $(addprefix $(ODIR)/,$(SRC:.c=.o))
OUT=../$(OUTDIR)/toyrepl
OUT=../$(TOY_OUTDIR)/toyrepl
all: $(OBJ)
$(CC) -DTOY_IMPORT $(CFLAGS) -o $(OUT) $(OBJ) -L$(realpath $(shell pwd)/../$(OUTDIR)) $(LIBS)
$(CC) -DTOY_IMPORT $(CFLAGS) -o $(OUT) $(OBJ) -L$(realpath $(shell pwd)/../$(TOY_OUTDIR)) $(LIBS)
$(OBJ): | $(ODIR)