Subversion Repositories IRC-Archiver

Rev

Rev 8 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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