summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..adcb519
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,14 @@
+CC=gcc
+CFLAGS=-g
+LDFLAGS=-g
+
+OBJECTS=panorama.o
+
+%.o: %.c
+ $(CC) -c $(CFLAGS) $*.c
+
+panorama: $(OBJECTS)
+ $(CC) -o panorama $(OBJECTS) -lm
+
+clean:
+ rm -f panorama $(OBJECTS)