Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/ClusterM/clovershell-daemon.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 828cbb33bc23acd5a566476386b31fc867d56c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
### 
### clovershell daemon (c) Cluster, 2017
### http://clusterrr.com
### clusterrr@clusterrr.com
###

CFLAGS-NES += -Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3,-rpath,-nostartfiles
CC-NES = arm-linux-gnueabihf-gcc
TARGET=mod/bin/clovershell
HMOD=clovershell.hmod

all: $(HMOD)

$(HMOD): $(TARGET)
	cd mod && tar -czvf ../$(HMOD) *

$(TARGET): clovershell.c
	$(CC-NES) -g -Wall $(CFLAGS-NES) $(LDFLAGS-NES) $< -o $(TARGET)

clean:
	rm -f $(TARGET) $(HMOD) *~ \#*\#