20
#---------------------------------------------------------------------------
21
# Edam's makefile v1.0
25
SRCS = $(C_SRCS) $(CC_SCRS) $(S_SRCS)
26
OBJS = $(addsuffix .o,$(basename $(SRCS)))
30
$(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
32
#---------------------------------------------------------------------------
34
.PHONY: all clean depend dep
36
all: clean depend $(TARGET)
39
rm -f core $(DEPFILE) $(OBJS)
43
makedepend -f- -- $(CFLAGS) -- $(SRCS) > $(DEPFILE)
45
#---------------------------------------------------------------------------