1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2025-06-09 08:56:15 +00:00
2015-12-13 22:34:58 +09:00

17 lines
199 B
Makefile

TLIB=mylib.a
OBJS=foo.o goo.o
CC=cc
INCPATH=.
CFLAGS=-Wall -I$(INCPATH)
.c.o:
$(CC) $(CFLAGS) -c $<
$(TLIB): $(OBJS)
ar cr $(TLIB) $(OBJS)
$(OBJS): $(INCPATH)/mylib.h
cleanall:
-rm -f *.o *.a