aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordavid <[email protected]>2026-04-29 05:34:00 -0300
committerdavid <[email protected]>2026-04-29 05:34:00 -0300
commit455ff9ad2058004aac9d8702b0c7274fe14d2335 (patch)
tree6ed50bfff5ef61dd45130f2f78be4354518cd05f /Makefile
downloadpetratc-455ff9ad2058004aac9d8702b0c7274fe14d2335.tar.gz
petratc-455ff9ad2058004aac9d8702b0c7274fe14d2335.zip
hi
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..309c0d3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+CC = gcc
+CFLAGS = -Wall -Wextra
+TARGET = cpetrat
+SRC = cpetrat.c
+
+$(TARGET): $(SRC)
+ $(CC) $(CFLAGS) -o $(TARGET) $(SRC)
+
+clean:
+ rm -f $(TARGET)