File: makefile

package info (click to toggle)
bb 1.2-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,152 kB
  • ctags: 3,357
  • sloc: ansic: 43,440; sh: 152; makefile: 64; asm: 36
file content (95 lines) | stat: -rw-r--r-- 2,142 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Generated automatically from Makefile.in by configure.
CC     = gcc
CFLAGS = -O6 -m486 -fstrength-reduce -ffast-math -fomit-frame-pointer -fforce-mem -fforce-addr -funroll-loops  -I/usr/X11R6/include 
LIBS   = -lslang -lncurses -lm -lgpm -laa -laa    -L/usr/X11R6/lib -lX11  
LFLAGS = -O

INCL = config.h 
 
SRCS = timers.c \
       unix.c \
       scene1.c \
       scene2.c \
       backconv.c \
       tex.c \
       scene9.c \
       textform.c \
       scene3.c \
       scene4.c \
       scene8.c \
       zeb.c \
       uncompfn.c \
       print.c \
       bb.c \
       scene5.c \
       scene7.c \
       minilzo.c \
       credits.c \
       zoom.c \
       formulas.c \
       julia.c \
       autopilo.c \
       ctrl87.c \
       fk1.c \
       fk2.c \
       fk3.c \
       fk4.c \
       hh1.c \
       hh2.c \
       hh3.c \
       hh4.c \
       kt1.c \
       kt2.c \
       kt3.c \
       kt4.c \
       ms1.c \
       ms2.c \
       ms3.c \
       ms4.c \
       image.c \
       credits2.c \
       messager.c

OBJS = $(SRCS:.c=.o)

#config.h:
#cp config.autoconf config.h

all:	bb bb_snd_server1


ctrl87.o:ctrl87.c
	$(CC) -c ctrl87.c

bb:  $(OBJS)
	$(CC) $(CFLAGS) $(LFLAGS) -o bb $(OBJS) $(LIBS)

bb_snd_server1:
	@echo "-------------------------------------------------------------------------"
	@echo "In case you want to hear sound you need one of following platforms"
	@echo "Linux, FreeBSD, SUN, DEC Alpha, AIX, HP-UX, SGI"
	@echo "To enable sound (highly recomended) you need to compile sound server:"
	@echo " cd mikunix"
	@echo " #edit makefile for your system"
	@echo " make"
	@echo "-------------------------------------------------------------------------"
	@#cd mikunix; make; cd ..

clean:
	rm -f bb bb_snd_server
	rm -f core `find . -name '*.[oa]' -print`
	rm -f core `find . -name '*~' -print`
	rm -f core `find . -type f -name 'core' -print`

distclean:clean
	rm aconfig.h config.log config.status config.cache Makefile

#dep:
#	rm -f .depend
#	make .depend
#
#.depend:
#	echo '# Program dependencies' >.depend
#	gcc -I svgalib $(DEFINES) -MM $(patsubst %.o,%.c,$(OBJS)) >>.depend
#
#include .depend