/[james]/sargasso2/makefile
ViewVC logotype

Annotation of /sargasso2/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77 - (hide annotations) (download)
Tue Sep 26 21:31:28 2006 UTC (18 years, 3 months ago) by james
File size: 929 byte(s)
Rewrite of Sargasso in C.

1 james 77 #
2     # This file is part of Sargasso, http://zamez.org/sargasso
3     # Licensed under the GNU General Public License,
4     # http://www.opensource.org/licenses/gpl-license
5     #
6    
7     OBJECTS = feed.o sargasso.o
8     HEADERS = feed.h
9    
10     WARNFLAGS = -W -Wall -Wundef -Wpointer-arith -Wcast-qual \
11     -Wcast-align -Wwrite-strings -Wstrict-prototypes \
12     -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \
13     -Wnested-externs -Winline -Wno-unused-parameter -Wuninitialized
14    
15     CC = /home/riscos/cross/bin/gcc
16     CFLAGS = -std=c9x -D_BSD_SOURCE -D_POSIX_C_SOURCE -Driscos -DBOOL_DEFINED -O \
17     $(WARNFLAGS) -I/home/riscos/env/include \
18     -I/home/riscos/env/include/libxml2 -I.. -mpoke-function-name
19     LDFLAGS = -L/home/riscos/env/lib -lxml2 -lucurl -lcares -lz -loslib -lrufl
20    
21     !Sargasso/!RunImage,ff8: $(OBJECTS)
22     $(CC) -o $@ $(LDFLAGS) $^
23    
24     %.o : %.c $(HEADERS)
25     @echo "==> $<"
26     @$(CC) -o $@ -c $(CFLAGS) $<
27    
28     clean:
29     -rm *.o !Sargasso/!RunImage,ff8

  ViewVC Help
Powered by ViewVC 1.1.26