23 lines
333 B
Makefile
23 lines
333 B
Makefile
|
# You shouldn't need to edit below here.
|
||
|
|
||
|
LIBTARGET = libXmx.a
|
||
|
|
||
|
all: $(LIBTARGET)
|
||
|
|
||
|
CFILES = Xmx.c Xmx2.c
|
||
|
|
||
|
OBJS = $(CFILES:.c=.o)
|
||
|
|
||
|
$(LIBTARGET): $(OBJS)
|
||
|
-rm -f $(LIBTARGET)
|
||
|
ar rv $(LIBTARGET) $(OBJS)
|
||
|
$(RANLIB) $(LIBTARGET)
|
||
|
|
||
|
Xmx.o: Xmx.c Xmx.h XmxP.h
|
||
|
Xmx2.o: Xmx2.c Xmx.h XmxP.h
|
||
|
|
||
|
clean:
|
||
|
-rm $(LIBTARGET) *.o
|
||
|
tags:
|
||
|
etags -t *.[ch]
|