mirror of
https://github.com/ioacademy-jikim/debugging
synced 2026-08-22 05:42:58 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user