Added rules for building things with the ack itself.
This commit is contained in:
parent
9bcefaafa8
commit
1efe7422d3
33
first/ack.pm
Normal file
33
first/ack.pm
Normal file
|
@ -0,0 +1,33 @@
|
|||
-- $Source$
|
||||
-- $State$
|
||||
|
||||
-- Provides rules for building things with the half-built ACK itself.
|
||||
|
||||
ACKBUILDFLAGS = {"-m%ARCH%", "%OPTIMISATION%"}
|
||||
ACKDEFINES = EMPTY
|
||||
ACKINCLUDES = EMPTY
|
||||
|
||||
ackfile = simple_with_clike_dependencies {
|
||||
class = "ackfile",
|
||||
CINCLUDES = {REDIRECT, "ACKINCLUDES"},
|
||||
command = {
|
||||
"%BINDIR%bin/ack %ACKBUILDFLAGS% %ACKINCLUDES% %ACKDEFINES% -c -o %out% %in%"
|
||||
},
|
||||
outputs = {"%U%-%I%.o"},
|
||||
}
|
||||
|
||||
ackprogram = simple {
|
||||
class = "ackprogram",
|
||||
command = {
|
||||
"%BINDIR%bin/ack %ACKBUILDFLAGS% -o %out% %in%"
|
||||
},
|
||||
outputs = {"%U%-%I%"},
|
||||
}
|
||||
|
||||
acklibrary = simple {
|
||||
class = "acklibrary",
|
||||
command = {
|
||||
"%RM% %out% && %BINDIR%bin/aal cr %out% %in%"
|
||||
},
|
||||
outputs = {"%U%-%I%.a"},
|
||||
}
|
Loading…
Reference in a new issue