Updated to the latest version of pm.
This commit is contained in:
parent
db0b628497
commit
70218cfeed
|
@ -1,6 +1,3 @@
|
|||
-- This file is part of Prime Mover v0.1pre1.
|
||||
-- (C) 2006 David Given
|
||||
--
|
||||
-- pm includefile to compile *host* C programs.
|
||||
|
||||
-- Standard Lua boilerplate.
|
||||
|
@ -14,13 +11,15 @@ local filetime = pm.filetime
|
|||
|
||||
-- Define some variables.
|
||||
|
||||
CC = "gcc %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CEXTRAFLAGS% -c -o %out% %in%"
|
||||
CPROGRAM = "gcc %CBUILDFLAGS% %CLINKFLAGS% %CEXTRAFLAGS% -o %out% %in% %CLIBRARIES%"
|
||||
CDEPENDS = "gcc %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CEXTRAFLAGS% -MM -MG -MF %out% %in%"
|
||||
CCOMPILER = "gcc"
|
||||
CC = "%CCOMPILER% %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CDEFINES% %CEXTRAFLAGS% -c -o %out% %in%"
|
||||
CPROGRAM = "%CCOMPILER% %CBUILDFLAGS% %CLINKFLAGS% %CEXTRAFLAGS% -o %out% %in% %CLIBRARIES%"
|
||||
CDEPENDS = "%CCOMPILER% %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CDEFINES% %CEXTRAFLAGS% -MM -MG %in% > %out%"
|
||||
AR = "%RM% %out% && ar cr %out% %in%"
|
||||
|
||||
CBUILDFLAGS = "-g -Os"
|
||||
CINCLUDES = {}
|
||||
CDEFINES = {}
|
||||
CEXTRAFLAGS = ""
|
||||
CLINKFLAGS = ""
|
||||
CDYNINCLUDES = ""
|
||||
|
|
BIN
util/LLgen/pm
BIN
util/LLgen/pm
Binary file not shown.
|
@ -1,3 +1,6 @@
|
|||
-- $Source$
|
||||
-- $State$
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- This is the build file used to compile LLgen. It should be run through
|
||||
|
@ -101,3 +104,9 @@ install = group {
|
|||
"(cd bin && tar cf - .) | (cd %PREFIX% && tar xvf -)"
|
||||
}
|
||||
}
|
||||
|
||||
-- Revision history
|
||||
-- $Log$
|
||||
-- Revision 1.2 2006-07-21 11:15:14 dtrg
|
||||
-- Updated to the latest version of pm.
|
||||
--
|
||||
|
|
Loading…
Reference in a new issue