Andrew Tridgell
9 years ago
2 changed files with 33 additions and 4 deletions
@ -1,13 +1,14 @@
@@ -1,13 +1,14 @@
|
||||
|
||||
# minimal makefile setup for ARM linux targets
|
||||
|
||||
CC=arm-linux-gnueabihf-gcc
|
||||
CFLAGS=-Wall -fPIC -g -shared
|
||||
COMPILER ?= arm-linux-gnueabihf-gcc
|
||||
AP_MODULE_PATH="../../.."
|
||||
CFLAGS=-Wall -fPIC -g -shared -I$(AP_MODULE_PATH)
|
||||
|
||||
all: moduletest.so |
||||
|
||||
moduletest.so: moduletest.c |
||||
$(CC) $(CFLAGS) -o moduletest.so moduletest.c -ldl
|
||||
$(COMPILER) $(CFLAGS) -o moduletest.so moduletest.c -ldl
|
||||
|
||||
clean: |
||||
rm -f moduletest.so
|
||||
|
Loading…
Reference in new issue