summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0edd281
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+CC = gcc
+CFLAGS = -g -std=c99
+
+all: ipedec
+
+ipedec: ipedec.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+ipedec.o: ipedec.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+clean:
+ rm -f ipedec ipedec.o
+
+.PHONY: clean
+