summaryrefslogtreecommitdiff
path: root/dist/cdk/examples/Makefile
blob: 352918f8a423e9eaebcd8a96c6a168915bfb82d9 (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Generated automatically from Makefile.in by configure.
#
# Makefile for the examples directory.
#
SHELL		= /bin/sh

CC		= gcc
x		= 

prefix		= /usr/local
exec_prefix	= ${prefix}

srcdir		= .

LIBS		= -lcdk -lcurses 
LIBDIR		= -L.. 

CFLAGS		= -g -O2 
CPPFLAGS	= -DHAVE_CONFIG_H  -I../include -I$(srcdir)/../include

BINS	= \
	alphalist_ex$x \
	bind_ex$x \
	buttonbox_ex$x \
	calendar_ex$x \
	cdkscreen_ex$x \
	dialog_ex$x \
	entry_ex$x \
	fselect_ex$x \
	graph_ex$x \
	hello_ex$x \
	histogram_ex$x \
	itemlist_ex$x \
	label_ex$x \
	marquee_ex$x \
	matrix_ex$x \
	mentry_ex$x \
	menu_ex$x \
	position_ex$x \
	preprocess_ex$x \
	radio_ex$x \
	scale_ex$x \
	scroll_ex$x \
	selection_ex$x \
	slider_ex$x \
	subwindow_ex$x \
	swindow_ex$x \
	template_ex$x \
	viewer_ex$x \
	vinstall$x

LINKIT	= $(CC) $(CFLAGS) $(CPPFLAGS) $? -o $@ $(LIBDIR) $(LIBS)

all : $(BINS)

alphalist_ex$x :	alphalist_ex.c	; $(LINKIT)
bind_ex$x :		bind_ex.c	; $(LINKIT)
buttonbox_ex$x :	buttonbox_ex.c	; $(LINKIT)
calendar_ex$x :		calendar_ex.c	; $(LINKIT)
cdkscreen_ex$x :	cdkscreen_ex.c	; $(LINKIT)
dialog_ex$x :		dialog_ex.c	; $(LINKIT)
entry_ex$x :		entry_ex.c	; $(LINKIT)
fselect_ex$x :		fselect_ex.c	; $(LINKIT)
graph_ex$x :		graph_ex.c	; $(LINKIT)
hello_ex$x :		hello_ex.c	; $(LINKIT)
histogram_ex$x :	histogram_ex.c	; $(LINKIT)
itemlist_ex$x :		itemlist_ex.c	; $(LINKIT)
label_ex$x :		label_ex.c	; $(LINKIT)
marquee_ex$x :		marquee_ex.c	; $(LINKIT)
matrix_ex$x :		matrix_ex.c	; $(LINKIT)
mentry_ex$x :		mentry_ex.c	; $(LINKIT)
menu_ex$x :		menu_ex.c	; $(LINKIT)
position_ex$x :		position_ex.c	; $(LINKIT)
preprocess_ex$x :	preprocess_ex.c	; $(LINKIT)
radio_ex$x :		radio_ex.c	; $(LINKIT)
scale_ex$x :		scale_ex.c	; $(LINKIT)
scroll_ex$x :		scroll_ex.c	; $(LINKIT)
selection_ex$x :	selection_ex.c	; $(LINKIT)
slider_ex$x :		slider_ex.c	; $(LINKIT)
subwindow_ex$x :	subwindow_ex.c	; $(LINKIT)
swindow_ex$x :		swindow_ex.c	; $(LINKIT)
template_ex$x :		template_ex.c	; $(LINKIT)
viewer_ex$x :		viewer_ex.c	; $(LINKIT)
vinstall$x :		vinstall.c	; $(LINKIT)
#
# Standard clean directives.
#
clean::
	-rm -f core *.o $(BINS)
distclean:: clean
	-rm -f Makefile