File: makefile

package info (click to toggle)
saoimage 1.19-5
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,256 kB
  • ctags: 3,610
  • sloc: ansic: 36,050; makefile: 215; sh: 11
file content (44 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (5)
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
#
# button maker tool
#
# Library to be linked for generating intialized structure declarations and
# top level subroutines for a button panel.
# Application create array of MenuSpec structures and call btn_SetupMenu()
# to produce button structures and subroutines to manipulate the buttons
#

#CFLAGS  = -c  -g
CFLAGS  = -c  -O

.c.o:
	$(CC) $(CFLAGS) $*.c

LIB	= libbtool.a

LIBS = ../libbtn.a

SRCS =	bitmap.c	mask.c		tool.c		rotate.c \
	text.o		wrattach.c	wrfeel.c	wrlook.c


OBJS =	bitmap.o	mask.o		tool.o		rotate.o \
	text.o		wrattach.o	wrfeel.o	wrlook.o


lib:	$(OBJS)
	ar cr $(LIB) $(OBJS)
	ranlib $(LIB)
	rm *.o

lint:
	lint -b *.c

clean:
	rm -f a.out core *.bak *~ \#* *.o


tool.o:		btnmenu.h	../buttons.h
text.o:		btnchars.h	inchars.h	outchars.h
wrattach.o:	btnmenu.h	../buttons.h
wrfeel.o:	btnmenu.h	../buttons.h
wrlook.o:	btnmenu.h	../buttons.h