Fixes for building on mingw.
This commit is contained in:
parent
5188574984
commit
0b386cdc48
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue