aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOrfeas <38209077+0xfea5@users.noreply.github.com>2024-04-15 19:38:05 +0300
committerOrfeas <38209077+0xfea5@users.noreply.github.com>2024-04-15 19:38:05 +0300
commit0be46c952901aaafe76e1fb5a8faecb38323d549 (patch)
tree9ec9e7a2c99bd5cd81e17f1578a7be725558f88e /Makefile
parentInitial commit (diff)
downloadlinux-game-trainer-0be46c952901aaafe76e1fb5a8faecb38323d549.tar.gz
linux-game-trainer-0be46c952901aaafe76e1fb5a8faecb38323d549.zip
Attaching & Detaching from process
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..844cc7b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
1CC = gcc
2CFLAGS = -Wall -g
3OBJS = $(patsubst %.c,%.o,$(wildcard src/*.c))
4OUT = hack.out
5
6$(OUT): $(OBJS)
7 $(CC) $(CFLAGS) -o $@ $(OBJS)
8
9%.o: %.c
10 $(CC) $(CFLAGS) -c $? -o $@
11
12clean:
13 rm -f src/*.o $(OUT)