20 lines
256 B
Makefile
20 lines
256 B
Makefile
|
# $Id$
|
||
|
|
||
|
include $(PWD)/Platform/$(PLATFORM).mk
|
||
|
|
||
|
.PHONY: all clean
|
||
|
.SUFFIXES: .c .o
|
||
|
|
||
|
OBJS = main.o
|
||
|
|
||
|
all: mokouctl$(EXEC)
|
||
|
|
||
|
mokouctl$(EXEC): $(OBJS)
|
||
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
rm -f *.exe mokouctl *.o
|