This commit is contained in:
p-w-rs
2022-09-07 11:18:56 -05:00
commit 7bb91e666d
121 changed files with 5306 additions and 0 deletions

16
06-MemoryManager/Makefile Normal file
View File

@@ -0,0 +1,16 @@
CC=gcc
CFLAGS=-Wall -g -pthread
all: testmemmgr pthread_testmemmgr
testmemmgr: memory_manager.o testmemmgr.o
$(CC) -o testmemmgr $^
pthread_testmemmgr: memory_manager.o pthread_testmemmgr.o
$(CC) -pthread -o pthread_testmemmgr $^
%: %.c
$(CC) $(CFLAGS) -o $@ $<
clean:
rm -f testmemmgr pthread_testmemmgr *.o