cyclone/Makefile.config
2016-07-30 17:10:43 -04:00

33 lines
854 B
Text

# Cyclone Scheme
# Copyright (c) 2014, Justin Ethier
# All rights reserved.
#
# Configuration options for the makefile
# Use these lines instead for debugging or profiling
#CFLAGS = -g
#CFLAGS = -g -pg
CFLAGS ?= -g -Wall
CC ?= cc
# Commands "baked into" cycone for invoking the C compiler
CC_PROG ?= "$(CC) ~src-file~ $(CFLAGS) -c -o ~exec-file~.o"
CC_EXEC ?= "$(CC) ~exec-file~.o ~obj-files~ -pthread -lcyclone -lck -lm $(CFLAGS) -o ~exec-file~"
CC_LIB ?= "$(CC) ~src-file~ $(CFLAGS) -c -o ~exec-file~.o"
AR ?= ar
#CD ?= cd
RM ?= rm -f
#LS ?= ls
#CP ?= cp
#LN ?= ln
INSTALL ?= install
MKDIR ?= $(INSTALL) -d
RMDIR ?= rmdir
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= $(PREFIX)/lib
INCDIR ?= $(PREFIX)/include/cyclone
DATADIR ?= $(PREFIX)/share/cyclone
DESTDIR ?=