diff options
| author | lonkaars <loek@pipeframe.xyz> | 2022-05-24 22:06:09 +0200 |
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2022-05-24 22:06:09 +0200 |
| commit | b0a905b14ff90f2240e5aa2928d5329d8494cb46 (patch) | |
| tree | 51c488dc72f0ba50b666d57eea6a23f8c8a731b7 /client | |
| parent | 937a3a736aaf2c468c8c8e8dbc7963a87eae890f (diff) | |
fix `make clean`
Diffstat (limited to 'client')
| -rw-r--r-- | client/makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/makefile b/client/makefile index 2209c95..8bc8ac7 100644 --- a/client/makefile +++ b/client/makefile @@ -4,20 +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: |