Makefile
by
管理者
—
last modified
2006-07-27 01:49
Click here to get the file
Size
1 kB
-
File type
text/x-makefile
File contents
#
# $Id: Makefile,v 1.2 2006/05/02 12:27:54 yamamoto Exp yamamoto $
#
TARGETS = $(TARGET1) $(TARGET2)
OBJS = $(OBJS1) $(OBJS2)
TARGET1 = exsh-2
SRCS1 = $(TARGET1).c
OBJS1 = $(TARGET1).o
TARGET2 = catch
SRCS2 = $(TARGET2).c
OBJS2 = $(TARGET2).o
all:: $(TARGETS)
$(TARGET1):: $(OBJS1)
$(TARGET2):: $(OBJS2)
test1:: all
./$(TARGET1)
test2:: all
./$(TARGET2)
clean::
rm -f $(TARGETS) $(OBJS) a.out *~