48de4cf52e
git-svn-id: file:///raid/svn-personal/okuu/trunk@3 7d206d2a-66c2-044b-96de-ba755a9b3ba8
20 lines
272 B
Makefile
20 lines
272 B
Makefile
# $Id$
|
|
|
|
include $(PWD)/Platform/$(PLATFORM).mk
|
|
|
|
.PHONY: all clean
|
|
.SUFFIXES: .c .o
|
|
|
|
OBJS = main.o ircfw.o bot.o util.o news.o
|
|
|
|
all: okuu$(EXEC)
|
|
|
|
okuu$(EXEC): $(OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.o *.exe okuu
|