Skip to content

Commit

Permalink
Merge pull request #1259 from techee/vimode_compile
Browse files Browse the repository at this point in the history
vimode: Don't build the viw binary on Windows
  • Loading branch information
techee authored Jul 9, 2023
2 parents 5b8bf65 + 3fe1edd commit a0244a2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions vimode/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugin = vimode

geanyplugins_LTLIBRARIES = vimode.la

noinst_PROGRAMS = viw

vi_srcs = \
vi.h \
vi.c \
Expand Down Expand Up @@ -42,19 +40,23 @@ vi_srcs = \
vimode_la_SOURCES = \
backends/backend-geany.c \
$(vi_srcs)

viw_SOURCES = \
backends/backend-viw.c \
$(vi_srcs)

vimode_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"Vimode\"
vimode_la_CFLAGS = $(AM_CFLAGS)
vimode_la_LIBADD = $(COMMONLIBS)

if !MINGW
noinst_PROGRAMS = viw

viw_SOURCES = \
backends/backend-viw.c \
$(vi_srcs)

viw_CPPFLAGS = $(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"Vimode\"
viw_CFLAGS = $(AM_CFLAGS)
viw_LDADD = $(COMMONLIBS)
endif

include $(top_srcdir)/build/cppcheck.mk

0 comments on commit a0244a2

Please sign in to comment.