Skip to content

Commit

Permalink
Added a NO_INFOEX option, for older MinGW and possibly older WATCOM w…
Browse files Browse the repository at this point in the history
…here you don't have that structure
  • Loading branch information
GitMensch authored and Bill-Gray committed Aug 4, 2018
1 parent 8a3b501 commit d052f0f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions wincon/Makefile.mng
Expand Up @@ -90,6 +90,14 @@ ifeq ($(UTF8),Y)
CFLAGS += -DPDC_FORCE_UTF8
endif

ifeq ($(INFOEX),N)
PDCCFLAGS += -DHAVE_NO_INFOEX
else
ifeq ($(INFOEX),Y)
PDCCFLAGS += -DHAVE_INFOEX
endif
endif

LINK = $(PREFIX)gcc

ifeq ($(DLL),Y)
Expand Down Expand Up @@ -146,9 +154,9 @@ $(LIBOBJS) : %.o: $(srcdir)/%.c
$(CC) -c $(CFLAGS) $<

$(PDCOBJS) : %.o: $(osdir)/%.c
$(CC) -c $(CFLAGS) $<
$(CC) -c $(CFLAGS) $(PDCCFLAGS) $<

firework.exe ozdemo.exe newtest.exe ptest.exe rain.exe testcurs.exe \
firework.exe newdemo.exe newtest.exe ptest.exe rain.exe testcurs.exe \
version.exe worm.exe xmas.exe: %.exe: $(demodir)/%.c
$(CC) $(CFLAGS) -o$@ $< $(LIBCURSES) $(EXELIBS)

Expand Down

0 comments on commit d052f0f

Please sign in to comment.