diff options
Diffstat (limited to 'client/makefile')
-rw-r--r-- | client/makefile | 7 |
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: |