Fixes for building on mingw.

This commit is contained in:
Steven Edwards 2002-05-30 20:36:29 +00:00 committed by Alexandre Julliard
parent 5188574984
commit 0b386cdc48
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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