mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
32 lines
769 B
Modula-2
32 lines
769 B
Modula-2
# -------------------------------------------------------------------------
|
|
# choose your compiler (must be ANSI-compliant!) and linker command, plus
|
|
# any additionally needed flags
|
|
|
|
OBJDIR = .objdir/
|
|
CC = cc
|
|
CFLAGS = -g -fomit-frame-pointer -Wall
|
|
HOST_OBJEXTENSION = .o
|
|
LD = $(CC)
|
|
LDFLAGS =
|
|
HOST_EXEXTENSION =
|
|
|
|
# no cross build
|
|
|
|
TARG_OBJDIR = $(OBJDIR)
|
|
TARG_CC = $(CC)
|
|
TARG_CFLAGS = $(CFLAGS)
|
|
TARG_OBJEXTENSION = $(HOST_OBJEXTENSION)
|
|
TARG_LD = $(LD)
|
|
TARG_LDFLAGS = $(LDFLAGS)
|
|
TARG_EXEXTENSION = $(HOST_EXEXTENSION)
|
|
|
|
# -------------------------------------------------------------------------
|
|
# directories where binaries, includes, and manpages should go during
|
|
# installation
|
|
|
|
BINDIR = @bindir@
|
|
INCDIR = @incdir@
|
|
MANDIR = @mandir@
|
|
LIBDIR = @libdir@
|
|
DOCDIR = @docdir@
|