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

Makefile - github.com/ClusterM/omega2-pwm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a157cee7356fc7c11c9bfdb16ae70015dc18af1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TARGET = pwm
OBJ = pwm.o

#export STAGING_DIR = ~/openwrt/staging_dir
#TOOLCHAIN_DIR = $(STAGING_DIR)/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2
#LDCFLAGS = -L$(TOOLCHAIN_DIR)/usr/lib
#LD_LIBRARY_PATH = $(TOOLCHAIN_DIR)/usr/lib

CC = mipsel-openwrt-linux-gcc

all: $(TARGET)

$(TARGET): $(OBJ)
	. ./env
	$(CC) $(LCDFLAGS) -o $@ $^

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