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