summaryrefslogtreecommitdiff
path: root/Base/home/anon/little
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-22 21:38:58 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-22 21:38:58 +0200
commita6b153abf19013b8a23f04ca37cda737d127ab6f (patch)
tree78abcfa1bd2967dc1088a71b1c680a03773c58bc /Base/home/anon/little
parent31b504789431d48feb67d8c6c79cc98d4d7df4f0 (diff)
downloadserenity-a6b153abf19013b8a23f04ca37cda737d127ab6f.zip
HackStudio: Show the currently open file in bold (in the project list)
Also import a little default C++ project called "little" :^)
Diffstat (limited to 'Base/home/anon/little')
-rw-r--r--Base/home/anon/little/Makefile13
-rw-r--r--Base/home/anon/little/main.cpp7
2 files changed, 20 insertions, 0 deletions
diff --git a/Base/home/anon/little/Makefile b/Base/home/anon/little/Makefile
new file mode 100644
index 0000000000..a41e4d0b96
--- /dev/null
+++ b/Base/home/anon/little/Makefile
@@ -0,0 +1,13 @@
+PROGRAM = little
+OBJS = main.o
+
+all: $(PROGRAM)
+
+$(PROGRAM): $(OBJS)
+ $(CXX) -o $@ $(OBJS)
+
+%.o: %.cpp
+ $(CXX) $(CXXFLAGS) -o $@ -c $<
+
+clean:
+ rm $(OBJS) $(PROGRAM)
diff --git a/Base/home/anon/little/main.cpp b/Base/home/anon/little/main.cpp
new file mode 100644
index 0000000000..26858540bd
--- /dev/null
+++ b/Base/home/anon/little/main.cpp
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(int, char**)
+{
+ printf("Hello friends!\n");
+ return 0;
+}