mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Update
This commit is contained in:
parent
36f9ebc25b
commit
85ab42e5d2
1 changed files with 4 additions and 3 deletions
|
@ -5,18 +5,19 @@
|
||||||
# Configuration options for the makefile
|
# Configuration options for the makefile
|
||||||
|
|
||||||
# Compiler options
|
# Compiler options
|
||||||
CFLAGS ?= -O2 -Wall -march=armv6k -Iinclude -L.
|
CFLAGS ?= -O2 -fPIC -Wall -march=armv6k -Iinclude -L.
|
||||||
COMP_CFLAGS ?= -O2 -Wall -march=armv6k -I$(PREFIX)/include -L$(PREFIX)/lib
|
COMP_CFLAGS ?= -O2 -fPIC -Wall -march=armv6k -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||||
# Use these lines instead for debugging or profiling
|
# Use these lines instead for debugging or profiling
|
||||||
#CFLAGS = -g -Wall
|
#CFLAGS = -g -Wall
|
||||||
#CFLAGS = -g -pg -Wall
|
#CFLAGS = -g -pg -Wall
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
LIBS = -pthread -lcyclone -lck -lm
|
LIBS = -pthread -lcyclone -lck -lm -ltommath -ldl
|
||||||
|
|
||||||
# Commands "baked into" cyclone for invoking the C compiler
|
# Commands "baked into" cyclone for invoking the C compiler
|
||||||
CC_PROG ?= "$(CC) ~src-file~ $(COMP_CFLAGS) -c -o ~exec-file~.o"
|
CC_PROG ?= "$(CC) ~src-file~ $(COMP_CFLAGS) -c -o ~exec-file~.o"
|
||||||
CC_EXEC ?= "$(CC) ~exec-file~.o ~obj-files~ $(LIBS) $(COMP_CFLAGS) -o ~exec-file~"
|
CC_EXEC ?= "$(CC) ~exec-file~.o ~obj-files~ $(LIBS) $(COMP_CFLAGS) -o ~exec-file~"
|
||||||
CC_LIB ?= "$(CC) ~src-file~ $(COMP_CFLAGS) -c -o ~exec-file~.o"
|
CC_LIB ?= "$(CC) ~src-file~ $(COMP_CFLAGS) -c -o ~exec-file~.o"
|
||||||
|
CC_SO ?= "$(CC) -shared -rdynamic -o ~exec-file~.so ~exec-file~.o"
|
||||||
|
|
||||||
AR ?= ar
|
AR ?= ar
|
||||||
#CD ?= cd
|
#CD ?= cd
|
||||||
|
|
Loading…
Add table
Reference in a new issue