mirror of
https://github.com/ioacademy-jikim/debugging
synced 2026-08-21 13:22:54 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
OBJS=main.o
|
||||
CC=cc
|
||||
INCLIB=../MYLIB
|
||||
LIBS=$(INCLIB)/mylib.a
|
||||
CFLAGS=-Wall -I. -I$(INCLIB)
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
app: $(OBJS) $(LIBS)
|
||||
$(CC) $(CFLAGS) -o app $(OBJS) $(LIBS)
|
||||
|
||||
$(OBJS): $(INCLIB)/mylib.h
|
||||
|
||||
cleanall:
|
||||
-rm -f *.o app
|
||||
Reference in New Issue
Block a user