aboutsummaryrefslogtreecommitdiffstats
path: root/example/Makefile
blob: 9e4dd5f69f1868f0140ab24a7616d2aa6ffdfd70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SRCS = add-tests.c calc.c sub-tests.c tests.c named-tests.c param-tests.c \
		quick-tests.c
OBJS = $(SRCS:.c=.o)

all: example

clean:
	$(RM) *.o *~ example

example: $(OBJS)
	$(CC) -o example $(OBJS)

.c.o:
	$(CC) -c $< -o $@