Rev 3 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 5 2024-09-07 08:42:09Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
.PHONY: all clean
.SUFFIXES: .c .o
OBJS = main.o log.o service.o util.o version.o server.o
all: mokou$(EXEC)
mokou$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -f *.exe mokou *.o