26 lines
436 B
Plaintext
26 lines
436 B
Plaintext
subdirs=arch/amd64
|
|
targets=printself
|
|
as=$(CC)
|
|
asflags_force=$(CPPFLAGSF) $(CFLAGSF) -c
|
|
asflags=$(CPPFLAGS) $(CFLAGS)
|
|
cppflags_force=
|
|
cflags_force=-g
|
|
cflags=-W -Wall -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
|
|
dist=Makefile
|
|
mode=amd64-debug
|
|
|
|
#modes
|
|
[mode::amd64-release]
|
|
cppflags_force=-DNDEBUG
|
|
cflags_force=
|
|
|
|
[mode::i386-release]
|
|
cppflags_force=-DNDEBUG
|
|
cflags_force=
|
|
|
|
#targets
|
|
[printself]
|
|
type=binary
|
|
ldflags=-static
|
|
sources=printself.S
|