26 lines
215 B
Makefile
26 lines
215 B
Makefile
|
o = ezc.o
|
||
|
|
||
|
all: ezc.a
|
||
|
|
||
|
ezc.a: $(o)
|
||
|
ar rcs ezc.a $(o)
|
||
|
|
||
|
|
||
|
.SUFFIXES: .cpp .o
|
||
|
|
||
|
.cpp.o:
|
||
|
$(CC) -c $(CFLAGS) $<
|
||
|
|
||
|
|
||
|
|
||
|
depend:
|
||
|
makedepend -Y. -f- *.cpp > Makefile.dep
|
||
|
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o
|
||
|
rm -f *.a
|
||
|
|
||
|
|
||
|
include Makefile.dep
|