Subversion Repositories IRC-Archiver

Rev

Rev 8 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 nishi 1
# $Id: Makefile 9 2024-08-30 03:51:01Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
9 nishi 8
OBJS = main.o util.o db.o bot.o ircfw.o ../Web/web.a
3 nishi 9
 
10
all: ircarc$(EXEC)
11
 
12
ircarc$(EXEC): $(OBJS)
13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
14
 
15
.c.o:
9 nishi 16
	$(CC) $(CFLAGS) -I $(PWD)/Web -c -o $@ $<
3 nishi 17
 
18
clean:
19
	rm -f *.o *.exe ircarc