b7ef2d8f80
git-svn-id: file:///raid/svn-personal/tewi/trunk@2 8739d7e6-ffea-ec47-b151-bdff447c6205
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
|