Skip to content

Commit

Permalink
Framebuffer and VT ports are now compiled with -Werror set. Also can …
Browse files Browse the repository at this point in the history
…build 'widetest' (not part of the standard demos yet, but we're getting there).
  • Loading branch information
Bill-Gray committed Dec 11, 2021
1 parent fa98024 commit eabeb4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion fb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RM = rm -f
# If your system doesn't have these, remove the defines here
SFLAGS = -DHAVE_VSNPRINTF -DHAVE_VSSCANF

CFLAGS = -Wall -Wextra -pedantic
CFLAGS = -Wall -Wextra -pedantic -Werror
ifeq ($(DEBUG),Y)
CFLAGS += -g -DPDCDEBUG
else
Expand Down Expand Up @@ -125,6 +125,9 @@ test_pan$(E) : $(demodir)/test_pan.c
tuidemo$(E) : tuidemo.o tui.o
$(LINK) tui.o tuidemo.o -o $@ $(LDFLAGS)

widetest$(E) : $(demodir)/widetest.c
$(BUILD) $(DEMOFLAGS) -o $@ $< $(LDFLAGS)

worm$(E) : $(demodir)/worm.c
$(BUILD) $(DEMOFLAGS) -o $@ $< $(LDFLAGS)

Expand Down
5 changes: 4 additions & 1 deletion vt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RM = rm -f
# If your system doesn't have these, remove the defines here
SFLAGS = -DHAVE_VSNPRINTF -DHAVE_VSSCANF

CFLAGS = -Wall -Wextra -pedantic
CFLAGS = -Wall -Wextra -pedantic -Werror
ifeq ($(DEBUG),Y)
CFLAGS += -g -DPDCDEBUG
else
Expand Down Expand Up @@ -157,6 +157,9 @@ test_pan$(E) : $(demodir)/test_pan.c
tuidemo$(E) : tuidemo.o tui.o
$(LINK) tui.o tuidemo.o -o $@ $(LDFLAGS)

widetest$(E) : $(demodir)/widetest.c
$(BUILD) $(DEMOFLAGS) -o $@ $< $(LDFLAGS)

worm$(E) : $(demodir)/worm.c
$(BUILD) $(DEMOFLAGS) -o $@ $< $(LDFLAGS)

Expand Down

0 comments on commit eabeb4c

Please sign in to comment.