diff options
Diffstat (limited to 'client/Makefile')
-rw-r--r-- | client/Makefile | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/client/Makefile b/client/Makefile deleted file mode 100644 index e9bbb91..0000000 --- a/client/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -CC = gcc -CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -I$(TERMIO)/include -LDFLAGS = -L$(TERMIO)/lib -ltermio - -TERMIO = $(HOME)/prefix - -TARGETS = client - -.PHONY: all clean remake - -# Clear all implicit suffix rules -.SUFFIXES: - -# Don't delete intermediate files -.SECONDARY: - -all: $(TARGETS) - -clean: - rm -f $(TARGETS) *.o - -remake: clean - $(MAKE) all - - -$(TARGETS): $(patsubst %.c,%.o,$(wildcard *.c)) - $(CC) -o $@ $^ $(LDFLAGS) - -%.o: %.c $(wildcard *.h) - $(CC) $(CFLAGS) -c -o $@ $< |