blob: 700ebd43b51480be0e1b2ffb69417dc8ea4f6e83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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) *~
|