/[cvs]/wurmi/Makefile
ViewVC logotype

Contents of /wurmi/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations)
Fri Sep 7 16:36:35 2007 UTC (11 years, 1 month ago) by kralovic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -4 lines
beta

1 ##############################################
2 ## makefile
3 ##
4 ##
5 ##
6
7 ###############################################
8 CFLAGS = -g `sdl-config --cflags` -funsigned-char -Wall -W -I /usr/X11R6/include
9 CCMALLOC =
10
11 all: streamer viewer arbiter
12
13 VIEWER_DEPS = board.o SDLutils.o connect.o
14
15 streamer: streamer.o
16 arbiter: connect.o board.o
17
18 ##############################################
19 ## target: viewer
20 ##
21 viewer: viewer.o ${VIEWER_DEPS}
22 gcc viewer.o ${VIEWER_DEPS} -o viewer -lm `sdl-config --libs` -ljpeg -lpng -lSDL_ttf
23
24 ##############################################
25 ## default targets
26 ##
27 %.o: %.c
28 gcc ${CFLAGS} -c $<
29
30
31 %: %.o
32 gcc -o $@ $^
33
34
35 ##############################################
36 ## target: clean
37 ##
38 clean:
39 rm *.o
40 rm viewer
41 rm streamer
42 rm arbiter
43
44
45
46

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.26