1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-15 06:27:36 +00:00

Define REFCC and REFCC_UNSIGNED_CHARS in reference

switch2.c uses these macros.  With them unset, signed chars
are not tested.
This commit is contained in:
Jesse Rosenstock
2020-06-23 21:25:23 +02:00
committed by Oliver Schmidt
parent 6e6ce4e5ee
commit 86ba877a99

View File

@@ -54,7 +54,7 @@ $(WORKDIR):
$(WORKDIR)/%.ref: %.c | $(WORKDIR) $(WORKDIR)/%.ref: %.c | $(WORKDIR)
$(if $(QUIET),echo ref/$*.host) $(if $(QUIET),echo ref/$*.host)
$(CC) $(CFLAGS) -o $(WORKDIR)/$*.host $< $(NULLERR) $(CC) $(CFLAGS) -DREFCC -DREFCC_UNSIGNED_CHARS -o $(WORKDIR)/$*.host $< $(NULLERR)
$(WORKDIR)$S$*.host > $@ $(WORKDIR)$S$*.host > $@
$(DIFF): ../bdiff.c | $(WORKDIR) $(DIFF): ../bdiff.c | $(WORKDIR)