1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2026-08-11 16:32:58 +00:00

first commit

This commit is contained in:
jikim
2015-12-13 22:34:58 +09:00
commit 0b589c7986
9455 changed files with 4350134 additions and 0 deletions
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <mylib.h>
int main (int arg, char *argv[])
{
foo();
goo();
return 0;
}
Binary file not shown.
+16
View File
@@ -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