summaryrefslogtreecommitdiff
path: root/recipes/icmpquery/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/icmpquery/files/Makefile')
-rw-r--r--recipes/icmpquery/files/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/icmpquery/files/Makefile b/recipes/icmpquery/files/Makefile
new file mode 100644
index 0000000000..08e049b228
--- /dev/null
+++ b/recipes/icmpquery/files/Makefile
@@ -0,0 +1,25 @@
+#CC = gcc
+CFLAGS = -Wall -Os
+
+#VERSION = \"V0.10\"
+#CFLAGS += -DVERSION=$(VERSION)
+
+# for use with LIRC, uncomment the following two lines
+# CFLAGS += -DUSELIRC
+# LDFLAGS += -llirc_client
+
+#######################################################################
+
+SRC = icmpquery.c
+OBJ = icmpquery.o
+
+all: icmpquery
+
+icmpquery: $(OBJ)
+ $(CC) -s -o icmpquery $(OBJ) $(LDFLAGS)
+
+icmpquery.o: icmpquery.c
+
+
+clean:
+ rm -f $(OBJ) icmpquery