Subversion Repositories Mokou

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 nishi 1
# $Id: Makefile 5 2024-09-07 08:42:09Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
5 nishi 8
OBJS = main.o log.o service.o util.o version.o server.o
2 nishi 9
 
10
all: mokou$(EXEC)
11
 
12
mokou$(EXEC): $(OBJS)
13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
14
 
15
.c.o:
16
	$(CC) $(CFLAGS) -c -o $@ $<
17
 
18
clean:
19
	rm -f *.exe mokou *.o