aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 765e2bb..07e1cdc 100644
--- a/Makefile
+++ b/Makefile
@@ -7,12 +7,14 @@ SRCS=$(wildcard src/*.c) $(wildcard include/*.c) $(wildcard 3rd-party/*.c)
OBJS=$(SRCS:.c=.o)
PROG=ctaklm
+SIZE=size
%.o: %.c
cc -c $< -o $@ $(CFLAGS)
$(PROG): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $(PROG)
+ $(SIZE) $(PROG)
clean:
rm -f $(PROG)