mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +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
|
||||
|
||||
# Compiler options
|
||||
CFLAGS ?= -O2 -Wall -march=armv6k -Iinclude -L.
|
||||
COMP_CFLAGS ?= -O2 -Wall -march=armv6k -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||
CFLAGS ?= -O2 -fPIC -Wall -march=armv6k -Iinclude -L.
|
||||
COMP_CFLAGS ?= -O2 -fPIC -Wall -march=armv6k -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||
# Use these lines instead for debugging or profiling
|
||||
#CFLAGS = -g -Wall
|
||||
#CFLAGS = -g -pg -Wall
|
||||
CC ?= cc
|
||||
LIBS = -pthread -lcyclone -lck -lm
|
||||
LIBS = -pthread -lcyclone -lck -lm -ltommath -ldl
|
||||
|
||||
# Commands "baked into" cyclone for invoking the C compiler
|
||||
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_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
|
||||
#CD ?= cd
|
||||
|
|
Loading…
Add table
Reference in a new issue