File: Makefile

package info (click to toggle)
codonw 1.4.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,060 kB
  • sloc: ansic: 11,227; makefile: 209; sh: 170; perl: 36
file content (59 lines) | stat: -rwxr-xr-x 1,294 bytes parent folder | download | duplicates (2)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
objects  = codon_us.o codons.o open_fil.o commline.o menu.o tester.o coresp.o
linked   = rscu cu aau raau tidy reader cutab cutot transl bases base3s dinuc cai fop gc3s gc cbi enc

all: codonw

CFLAGS+=-DLINUX

codonw: $(objects)
	$(CC) $(CFLAGS) $(LDFLAGS) $(objects) -o codonw -lm

clean:
	\rm -f $(objects)

cleanall:
	\rm -f $(objects) codonw $(linked)

realclean:
	\rm -f $(objects) codonw $(linked)

codon_us.o: codon_us.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) codon_us.c

menu.o: menu.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) menu.c

codons.o: codons.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) codons.c

coresp.o: coresp.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) coresp.c

open_fil.o:    open_fil.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) open_fil.c

commline.o:    commline.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) commline.c

tester.o:      tester.c codonW.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) tester.c

links: codonw
		$(LN) codonw rscu
		$(LN) codonw cu
		$(LN) codonw aau
		$(LN) codonw raau
		$(LN) codonw tidy
		$(LN) codonw reader
		$(LN) codonw cutab
		$(LN) codonw cutot
		$(LN) codonw transl
		$(LN) codonw bases
		$(LN) codonw base3s
		$(LN) codonw dinuc
		$(LN) codonw cai
		$(LN) codonw fop
		$(LN) codonw gc3s
		$(LN) codonw gc
		$(LN) codonw cbi
		$(LN) codonw enc