summaryrefslogtreecommitdiff
path: root/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/platform/lantiq/ltq-vdsl-fw/src/Makefile')
-rw-r--r--package/platform/lantiq/ltq-vdsl-fw/src/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/platform/lantiq/ltq-vdsl-fw/src/Makefile b/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
new file mode 100644
index 0000000..2d50aaf
--- /dev/null
+++ b/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
@@ -0,0 +1,13 @@
+PROG=w921v_fw_cutter
+OBJS=w921v_fw_cutter.c LzmaDecode.c LzmaWrapper.c
+
+all: $(PROG)
+
+$(PROG): $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
+
+clean:
+ rm *.o $(PROG)
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c $^ -o $@