mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Sync changes from cyclone-bootstrap
This commit is contained in:
parent
a8062e3f13
commit
5f88a68525
1 changed files with 4 additions and 2 deletions
|
@ -7,11 +7,13 @@
|
|||
# Use these lines instead for debugging or profiling
|
||||
#CFLAGS = -g -Wall
|
||||
#CFLAGS = -g -pg -Wall
|
||||
CFLAGS ?= -O2 -Wall
|
||||
CFLAGS ?= -O2 -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||
CC ?= cc
|
||||
LIBS = -pthread -lcyclone -lck -lm
|
||||
|
||||
# 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_EXEC ?= "$(CC) ~exec-file~.o ~obj-files~ $(LIBS) $(CFLAGS) -o ~exec-file~"
|
||||
CC_LIB ?= "$(CC) ~src-file~ $(CFLAGS) -c -o ~exec-file~.o"
|
||||
|
||||
AR ?= ar
|
||||
|
|
Loading…
Add table
Reference in a new issue