-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
executable file
·41 lines (28 loc) · 1.39 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
CC=gcc
CFLAGS=-O2 -Wall -g -I.
DEPS = sockhelp.h
OBJ = sockhelp.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: confusible_checker confusible_checker_error 3confusible_checker 3confusible_checker_error wopr_checker lexiconchecker/lexicon_checker splitchecker/split_checker runonchecker/runon_checker aspellchecker/aspell_checker
confusible_checker: confusiblechecker/confusible_checker.o $(OBJ)
gcc -o confusiblechecker/$@ $^ $(CFLAGS)
confusible_checker_error: confusiblechecker/confusible_checker_error.o $(OBJ)
gcc -o confusiblechecker/$@ $^ $(CFLAGS)
3confusible_checker: confusiblechecker/3confusible_checker.o $(OBJ)
gcc -o confusiblechecker/$@ $^ $(CFLAGS)
3confusible_checker_error: confusiblechecker/3confusible_checker_error.o $(OBJ)
gcc -o confusiblechecker/$@ $^ $(CFLAGS)
wopr_checker: woprchecker/wopr_checker.o $(OBJ)
gcc -o woprchecker/$@ $^ $(CFLAGS)
lexicon_checker: lexiconchecker/lexicon_checker.o $(OBJ)
gcc -o $@ $^ $(CFLAGS)
split_checker: splitchecker/split_checker.o $(OBJ)
gcc -o $@ $^ $(CFLAGS)
runon_checker: runonchecker/runon_checker.o $(OBJ)
gcc -o $@ $^ $(CFLAGS)
aspell_checker: aspellchecker/aspell_checker.o $(OBJ)
gcc -o $@ $^ $(CFLAGS)
.PHONY: clean
clean:
rm -f $(ODIR)/*.o *~ core $(INCDIR)/*~ confusible_checker confusible_checker_error 3confusible_checker 3confusible_checker_error wopr_checker lexicon_checker split_checker runon_checker aspell_checker