aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-03-26 10:14:21 +1300
committerArslaan Pathan <[email protected]>2026-03-26 10:14:21 +1300
commitcd94bcccdd366bc1e42688ef68428b3c4366d4c8 (patch)
tree90f1dea0fb3fc5c1695bf6eb4c963044f6540b9b /Makefile
downloadcinnamon-browser-cd94bcccdd366bc1e42688ef68428b3c4366d4c8.tar.xz
cinnamon-browser-cd94bcccdd366bc1e42688ef68428b3c4366d4c8.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..08599a1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+CC = clang
+CFLAGS = -std=gnu17 `pkg-config --cflags webkit2gtk-4.1 gtk+-3.0`
+LIBS = `pkg-config --libs webkit2gtk-4.1 gtk+-3.0`
+TARGET = cinnamon
+SRC = main.c
+
+all: $(TARGET)
+
+$(TARGET): $(SRC)
+ $(CC) -o $(TARGET) $(SRC) $(CFLAGS) $(LIBS)
+
+clean:
+ rm -f $(TARGET)
+
+run: $(TARGET)
+ ./$(TARGET)
+
+.PHONY: all clean run