Skip to content

Commit

Permalink
"When using cross-compilers, windres has various prefixes. A patch like
Browse files Browse the repository at this point in the history
that helps" -- Marc-Andre Lureau
  • Loading branch information
wmcbrine committed Aug 14, 2019
1 parent 20d1561 commit f3a0ce5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wincon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ CC = gcc
AR = ar
STRIP = strip
LINK = gcc
WINDRES = windres

ifeq ($(DEBUG),Y)
CFLAGS = -g -Wall -DPDCDEBUG
Expand Down Expand Up @@ -87,7 +88,7 @@ $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS) $(RESOURCE)
$(LIBEXE) $(LIBFLAGS) $@ $?

pdcurses.o: $(common)/pdcurses.rc
windres -i $(common)/pdcurses.rc pdcurses.o
$(WINDRES) -i $(common)/pdcurses.rc pdcurses.o

$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
$(PDCOBJS) : $(PDCURSES_WIN_H)
Expand Down

0 comments on commit f3a0ce5

Please sign in to comment.