summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-26 15:39:31 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-26 15:39:31 +0200
commit60f07661602a5dfe8e39b8038964b38bddcb33a5 (patch)
tree0b257acda0797a13cd09e7df2d16a6da0a6aef11 /client
parent333eea840a17d0f8ecf0110d952df2857fea4da0 (diff)
parentf073c9d3848dab915bed4844e9d13684aa5e23eb (diff)
merge dev into master
Diffstat (limited to 'client')
-rw-r--r--client/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/makefile b/client/makefile
index 23d5ce6..8bc8ac7 100644
--- a/client/makefile
+++ b/client/makefile
@@ -4,19 +4,20 @@ RM = rm -f
CFLAGS =
EXECNAME = main
+all: $(EXECNAME)
+
SOURCES := $(wildcard *.c)
HEADERS := $(wildcard *.h)
+include ../shared/makefile
OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
-all: main
-
.o:
$(CC) -c $(CFLAGS) $<
$(EXECNAME): $(OBJECTS)
$(CC) $(OBJECTS) -o $(EXECNAME)
-clean:
+clean::
$(RM) $(EXECNAME) *.o
format: