Rev 7 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 10 2024-08-26 13:37:23Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
.PHONY: all clean install
.SUFFIXES: .c .o
OBJS = version.o main.o util.o socket.o db.o $(EXTOBJS)
all: ircserv$(EXEC)
ircserv$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
install:
cp ircserv $(PREFIX)/bin/
clean:
rm -f *.exe ircserv *.o */*.o