mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Filename Makefile.inc for Makefile
This commit is contained in:
@@ -1933,6 +1933,7 @@ Makefile:
|
|||||||
- GNUmakefile
|
- GNUmakefile
|
||||||
- Kbuild
|
- Kbuild
|
||||||
- Makefile
|
- Makefile
|
||||||
|
- Makefile.inc
|
||||||
- makefile
|
- makefile
|
||||||
interpreters:
|
interpreters:
|
||||||
- make
|
- make
|
||||||
|
|||||||
31
samples/Makefile/filenames/Makefile.inc
Normal file
31
samples/Makefile/filenames/Makefile.inc
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# $OpenBSD: Makefile.inc,v 1.2 2003/11/14 20:09:20 drahn Exp $
|
||||||
|
# $NetBSD: Makefile.inc,v 1.1 1996/09/30 16:34:59 ws Exp $
|
||||||
|
|
||||||
|
.if !defined(__stand_makefile_inc)
|
||||||
|
__stand_makefile_inc=1
|
||||||
|
|
||||||
|
KERN_AS= library
|
||||||
|
|
||||||
|
S=$(.CURDIR)/../../../$(R)
|
||||||
|
|
||||||
|
.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) && !defined(NOMACHINE)
|
||||||
|
.BEGIN:
|
||||||
|
@([ -h machine ] || ln -s $(S)/arch/$(MACHINE)/include machine)
|
||||||
|
.endif
|
||||||
|
|
||||||
|
#
|
||||||
|
EXTRACFLAGS= -msoft-float
|
||||||
|
REAL_VIRT?= -v
|
||||||
|
ENTRY?= _start
|
||||||
|
|
||||||
|
INCLUDES+= -I. -I$(.OBJDIR) -I$(.CURDIR)/.. -I$(S)/arch -I$(S)
|
||||||
|
INCLUDES+= -I$(S)/lib/libsa
|
||||||
|
DEFS+= -DSTANDALONE
|
||||||
|
CFLAGS+= $(INCLUDES) $(DEFS) $(EXTRACFLAGS)
|
||||||
|
CFLAGS+= -fno-stack-protector
|
||||||
|
LDFLAGS?= -X -N -Ttext $(RELOC) -e $(ENTRY)
|
||||||
|
|
||||||
|
cleandir:
|
||||||
|
rm -rf lib machine
|
||||||
|
|
||||||
|
.endif
|
||||||
Reference in New Issue
Block a user