summaryrefslogtreecommitdiff
path: root/Base/home/anon/Source/little/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/Source/little/Makefile')
-rw-r--r--Base/home/anon/Source/little/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Base/home/anon/Source/little/Makefile b/Base/home/anon/Source/little/Makefile
new file mode 100644
index 0000000000..7c29668846
--- /dev/null
+++ b/Base/home/anon/Source/little/Makefile
@@ -0,0 +1,17 @@
+PROGRAM = little
+OBJS = main.o
+CXXFLAGS = -g
+
+all: $(PROGRAM)
+
+$(PROGRAM): $(OBJS)
+ $(CXX) -o $@ $(OBJS)
+
+%.o: %.cpp
+ $(CXX) $(CXXFLAGS) -o $@ -c $<
+
+clean:
+ rm $(OBJS) $(PROGRAM)
+
+run:
+ ./$(PROGRAM)