diff options
Diffstat (limited to '33_counts/Makefile')
-rw-r--r-- | 33_counts/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/33_counts/Makefile b/33_counts/Makefile new file mode 100644 index 0000000..700ebd4 --- /dev/null +++ b/33_counts/Makefile @@ -0,0 +1,12 @@ +CFLAGS=-Wall -Werror -std=gnu99 -pedantic -ggdb3 +OBJS=counts.o counts_test.o +PROGRAM=counts_test + +$(PROGRAM): $(OBJS) + gcc $(CFLAGS) -o $@ $(OBJS) + +%.o: %.c counts.h + gcc -c $(CFLAGS) $< + +clean: + rm -f $(OBJS) $(PROGRAM) *~ |