File: Makefile.curses.SunOS

package info (click to toggle)
wcd 3.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 804 kB
  • ctags: 640
  • sloc: ansic: 8,260; makefile: 43; sh: 6; csh: 1
file content (67 lines) | stat: -rw-r--r-- 1,277 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
60
61
62
63
64
65
66
67
# Thanks to Etienne

CC	= cc

CFLAGS  = -fast -Ic3po
LFLAGS  = -lcurses -fast
DEFS    = -DUNIX -DWCD_USECURSES -DSYSV
OBJS1	= wcd.o match.o stack.o nameset.o intset.o Error.o Text.o WcdStack.o dirnode.o display.o dosdir.o wfixpath.o graphics.o wcddir.o

all:wcd.exe

wcd.exe: $(OBJS1)
	$(CC) $(OBJS1) $(LFLAGS) -o $@


.SUFFIXES:.c

#.c.o:
#	$(CC) $(CFLAGS) $(DEFS) -c $<

nameset.o : c3po/nameset.c
	$(CC) $(CFLAGS) $(DEFS) -c c3po/nameset.c -o $@

intset.o : c3po/intset.c
	$(CC) $(CFLAGS) $(DEFS) -c c3po/intset.c -o $@

Error.o : c3po/Error.c
	$(CC) $(CFLAGS) $(DEFS) -c c3po/Error.c -o $@

Text.o : c3po/Text.c
	$(CC) $(CFLAGS) $(DEFS) -c c3po/Text.c -o $@

WcdStack.o : c3po/WcdStack.c
	$(CC) $(CFLAGS) $(DEFS) -c c3po/WcdStack.c -o $@

dirnode.o : c3po/dirnode.c
	$(CC) $(CFLAGS) $(DEFS) -c c3po/dirnode.c -o $@


wcd.o : wcd.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

match.o : match.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

stack.o : stack.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

display.o : display.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

dosdir.o : dosdir.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

wfixpath.o : wfixpath.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

graphics.o : graphics.c
	$(CC) $(CFLAGS) $(DEFS) -c $<

wcddir.o : wcddir.c
	$(CC) $(CFLAGS) $(DEFS) -c $<


clean:
	/bin/rm *.o *.bck *.bak *.exe