Subversion Repositories Mokou

Rev

Rev 2 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 3 2024-09-06 09:21:55Z nishi $

include $(PWD)/Platform/$(PLATFORM).mk

.PHONY: all clean
.SUFFIXES: .c .o

OBJS = main.o log.o service.o util.o version.o

all: mokou$(EXEC)

mokou$(EXEC): $(OBJS)
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

.c.o:
        $(CC) $(CFLAGS) -c -o $@ $<

clean:
        rm -f *.exe mokou *.o