Fix the raw win32 makefile system which got broken in r6144 and r6145:
* The lexers depend on the parser's headers so make sure to compile the parsers first * Move a misplaced line-wrapping backslash in src/makefile.win32 git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6153 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
55aaffac40
commit
29d7c7abfd
|
@ -5,7 +5,16 @@ CPPFLAGS += -I$(top_srcdir)/lib/sqlite3
|
|||
|
||||
include $(top_srcdir)/makerules/common.mk
|
||||
|
||||
# Due to the lexer's dependencies on the parser's header we need to compile the
|
||||
# parsers first
|
||||
PARSERS= \
|
||||
resource_parser.tab.c \
|
||||
resource_lexer.lex.c \
|
||||
strres_parser.tab.c \
|
||||
strres_lexer.lex.c
|
||||
|
||||
SRC= \
|
||||
$(PARSERS) \
|
||||
configfile.c \
|
||||
cursors16.c \
|
||||
cursors32.c \
|
||||
|
@ -18,13 +27,9 @@ SRC= \
|
|||
lexer_input.c \
|
||||
physfs_vfs.c \
|
||||
printf_ext.c \
|
||||
resource_lexer.lex.c \
|
||||
resource_parser.tab.c \
|
||||
SDL_framerate.c \
|
||||
strnlen1.c \
|
||||
strres.c \
|
||||
strres_lexer.lex.c \
|
||||
strres_parser.tab.c \
|
||||
tagfile.c \
|
||||
treap.c \
|
||||
trig.c \
|
||||
|
|
|
@ -3,11 +3,16 @@ top_builddir=$(top_srcdir)
|
|||
|
||||
include $(top_srcdir)/makerules/common.mk
|
||||
|
||||
# Due to the lexer's dependencies on the parser's header we need to compile the
|
||||
# parsers first
|
||||
PARSERS= \
|
||||
audp_parser.tab.c \
|
||||
audp_lexer.lex.c
|
||||
|
||||
SRC= \
|
||||
$(PARSERS) \
|
||||
anim.c \
|
||||
animobj.c \
|
||||
audp_lexer.lex.c \
|
||||
audp_parser.tab.c \
|
||||
gtime.c \
|
||||
hashtabl.c
|
||||
|
||||
|
|
|
@ -3,16 +3,21 @@ top_builddir=$(top_srcdir)
|
|||
|
||||
include $(top_srcdir)/makerules/common.mk
|
||||
|
||||
SRC= \
|
||||
chat_lexer.lex.c \
|
||||
# Due to the lexer's dependencies on the parser's header we need to compile the
|
||||
# parsers first
|
||||
PARSERS= \
|
||||
chat_parser.tab.c \
|
||||
chat_lexer.lex.c \
|
||||
script_parser.tab.c \
|
||||
script_lexer.lex.c
|
||||
|
||||
SRC= \
|
||||
$(PARSERS) \
|
||||
codeprint.c \
|
||||
event.c \
|
||||
evntsave.c \
|
||||
interp.c \
|
||||
script.c \
|
||||
script_parser.tab.c \
|
||||
script_lexer.lex.c \
|
||||
stack.c
|
||||
|
||||
LIB=script
|
||||
|
|
|
@ -5,7 +5,16 @@ CPPFLAGS += -I$(top_srcdir)/lib/sqlite3
|
|||
|
||||
include $(top_srcdir)/makerules/common.mk
|
||||
|
||||
# Due to the lexer's dependencies on the parser's header we need to compile the
|
||||
# parsers first
|
||||
PARSERS= \
|
||||
message_parser.tab.c \
|
||||
message_lexer.lex.c \
|
||||
scriptvals_parser.tab.c \
|
||||
scriptvals_lexer.lex.c
|
||||
|
||||
SRC= \
|
||||
$(PARSERS) \
|
||||
action.c \
|
||||
advvis.c \
|
||||
ai.c \
|
||||
|
@ -65,8 +74,6 @@ SRC= \
|
|||
mapgrid.c \
|
||||
mechanics.c \
|
||||
message.c \
|
||||
message_lexer.lex.c \
|
||||
message_parser.tab.c \
|
||||
miscimd.c \
|
||||
mission.c \
|
||||
move.c \
|
||||
|
@ -99,8 +106,6 @@ SRC= \
|
|||
scriptobj.c \
|
||||
scripttabs.c \
|
||||
scriptvals.c \
|
||||
scriptvals_lexer.lex.c \
|
||||
scriptvals_parser.tab.c \
|
||||
selection.c \
|
||||
seqdisp.c \
|
||||
stats.c \
|
||||
|
@ -112,8 +117,8 @@ SRC= \
|
|||
version.c \
|
||||
visibility.c \
|
||||
warcam.c \
|
||||
warzoneconfig.c
|
||||
wrappers.c \
|
||||
warzoneconfig.c \
|
||||
wrappers.c
|
||||
|
||||
LIBS=$(top_builddir)/lib/libgamelib.a \
|
||||
$(top_builddir)/lib/libivis_common.a \
|
||||
|
|
Loading…
Reference in New Issue