File: makefile

package info (click to toggle)
libwn6 6.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,996 kB
  • ctags: 3,938
  • sloc: ansic: 45,083; makefile: 926; csh: 274; sh: 12
file content (23 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!gmake

WNLIB = ../../..
CFLAGS = -g  -I$(WNLIB)/cc/h
ARCHIVES = $(WNLIB)/cc/low/text.a

compile: countcat shatter unshatter

shatter: shatter.o
	cc -g -o shatter shatter.o $(ARCHIVES) -lm 

unshatter: unshatter.o
	cc -g -o unshatter unshatter.o $(ARCHIVES) -lm 

countcat: countcat.o
	cc -g -o countcat countcat.o $(ARCHIVES) -lm 

clean:
	set nonomatch; rm -f *.o
	rm -f core errors.txt tmp
	rm -f shatter countcat unshatter

all: clean compile