Commit 0b386cdc authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Fixes for building on mingw.

parent 51885749
......@@ -4,8 +4,9 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
YACCOPT = #-v
EXEEXT = @EXEEXT@
PROGRAMS = wmc
PROGRAMS = wmc$(EXEEXT)
MODULE = none
C_SRCS = \
......@@ -27,6 +28,9 @@ mcl.o: y.tab.h
wmc: $(OBJS)
$(CC) $(CFLAGS) -o wmc $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LEXLIB) $(LDFLAGS)
wmc.exe: $(OBJS)
$(CC) $(CFLAGS) -o wmc.exe $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LEXLIB) -liberty $(LDFLAGS)
y.tab.c y.tab.h: mcy.y
$(YACC) $(YACCOPT) -d -t $(SRCDIR)/mcy.y
......
......@@ -5,8 +5,9 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
LEXOPT = -Cf #-w -b
YACCOPT = #-v
EXEEXT = @EXEEXT@
PROGRAMS = wrc
PROGRAMS = wrc$(EXEEXT)
MODULE = none
C_SRCS = \
......@@ -30,6 +31,9 @@ all: $(PROGRAMS)
wrc: $(OBJS)
$(CC) $(CFLAGS) -o wrc $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LEXLIB) $(LDFLAGS)
wrc.exe: $(OBJS)
$(CC) $(CFLAGS) -o wrc.exe $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LEXLIB) -liberty $(LDFLAGS)
y.tab.c y.tab.h: parser.y
$(YACC) $(YACCOPT) -d -t $(SRCDIR)/parser.y
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment