summaryrefslogtreecommitdiff
path: root/client/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'client/makefile')
-rw-r--r--client/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/makefile b/client/makefile
index 23d5ce6..4cca15a 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: