1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +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)
$(if $(QUIET),echo ref/$*.host)
$(CC) $(CFLAGS) -o $(WORKDIR)/$*.host $< $(NULLERR)
$(CC) $(CFLAGS) -DREFCC -DREFCC_UNSIGNED_CHARS -o $(WORKDIR)/$*.host $< $(NULLERR)
$(WORKDIR)$S$*.host > $@
$(DIFF): ../bdiff.c | $(WORKDIR)