Updated to the latest version of pm.
This commit is contained in:
parent
db0b628497
commit
70218cfeed
3 changed files with 14 additions and 6 deletions
|
@ -1,6 +1,3 @@
|
||||||
-- This file is part of Prime Mover v0.1pre1.
|
|
||||||
-- (C) 2006 David Given
|
|
||||||
--
|
|
||||||
-- pm includefile to compile *host* C programs.
|
-- pm includefile to compile *host* C programs.
|
||||||
|
|
||||||
-- Standard Lua boilerplate.
|
-- Standard Lua boilerplate.
|
||||||
|
@ -14,13 +11,15 @@ local filetime = pm.filetime
|
||||||
|
|
||||||
-- Define some variables.
|
-- Define some variables.
|
||||||
|
|
||||||
CC = "gcc %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CEXTRAFLAGS% -c -o %out% %in%"
|
CCOMPILER = "gcc"
|
||||||
CPROGRAM = "gcc %CBUILDFLAGS% %CLINKFLAGS% %CEXTRAFLAGS% -o %out% %in% %CLIBRARIES%"
|
CC = "%CCOMPILER% %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CDEFINES% %CEXTRAFLAGS% -c -o %out% %in%"
|
||||||
CDEPENDS = "gcc %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CEXTRAFLAGS% -MM -MG -MF %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%"
|
AR = "%RM% %out% && ar cr %out% %in%"
|
||||||
|
|
||||||
CBUILDFLAGS = "-g -Os"
|
CBUILDFLAGS = "-g -Os"
|
||||||
CINCLUDES = {}
|
CINCLUDES = {}
|
||||||
|
CDEFINES = {}
|
||||||
CEXTRAFLAGS = ""
|
CEXTRAFLAGS = ""
|
||||||
CLINKFLAGS = ""
|
CLINKFLAGS = ""
|
||||||
CDYNINCLUDES = ""
|
CDYNINCLUDES = ""
|
||||||
|
|
BIN
util/LLgen/pm
BIN
util/LLgen/pm
Binary file not shown.
|
@ -1,3 +1,6 @@
|
||||||
|
-- $Source$
|
||||||
|
-- $State$
|
||||||
|
--
|
||||||
-- $Id$
|
-- $Id$
|
||||||
--
|
--
|
||||||
-- This is the build file used to compile LLgen. It should be run through
|
-- 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 -)"
|
"(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