diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-07-22 00:50:41 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-07-22 00:50:41 +0300 |
commit | 78af5ffc16e291845098b5386c6b45d4b4c52efd (patch) | |
tree | 6b1fb31be3d6d3a0d16ce5cf2fc5c13dc412ac47 /Makefile | |
parent | 0bed6cf4d559fdb87d497028a9672b8e2beda3d0 (diff) |
First commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a157cee --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |