Renamed: xmalloc.[c,h]->xalloc.[c,h], zmalloc.[c,h]->zalloc.[c,h]
--HG-- rename : c/zmalloc/Makefile => c/zalloc/Makefile rename : c/zmalloc/zmalloc.geany => c/zalloc/zalloc.geany rename : c/zmalloc/zmalloc_test.c => c/zalloc/zalloc_test.c
This commit is contained in:
parent
e98cfe955f
commit
45cf1a566e
|
@ -31,7 +31,7 @@ CFLAGS += -Wall
|
||||||
LDFLAGS += -Wall
|
LDFLAGS += -Wall
|
||||||
#~ $(shell pkg-config --libs liblist)
|
#~ $(shell pkg-config --libs liblist)
|
||||||
|
|
||||||
all: zmalloc_test
|
all: zalloc_test
|
||||||
|
|
||||||
ifneq ($(mode),debug)
|
ifneq ($(mode),debug)
|
||||||
ifneq ($(mode),profile)
|
ifneq ($(mode),profile)
|
||||||
|
@ -53,17 +53,17 @@ endif
|
||||||
%.o :
|
%.o :
|
||||||
$(CC) -c $(CFLAGS) $(LDFLAGS) $(INCLUDE) -o $@ $<
|
$(CC) -c $(CFLAGS) $(LDFLAGS) $(INCLUDE) -o $@ $<
|
||||||
|
|
||||||
zmalloc_test_obj = zmalloc.o xerror.o
|
zalloc_test_obj = zalloc.o xerror.o
|
||||||
zmalloc_test: zmalloc_test.o $(zmalloc_test_obj)
|
zalloc_test: zalloc_test.o $(zalloc_test_obj)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDE) -o $@ zmalloc_test.o $(zmalloc_test_obj)
|
$(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDE) -o $@ zalloc_test.o $(zalloc_test_obj)
|
||||||
|
|
||||||
zmalloc_test.o: zmalloc_test.c zmalloc.o
|
zalloc_test.o: zalloc_test.c zalloc.o
|
||||||
|
|
||||||
zmalloc.o: $(KOLAN_INCLUDE)/zmalloc.c $(KOLAN_INCLUDE)/zmalloc.h
|
zalloc.o: $(KOLAN_INCLUDE)/zalloc.c $(KOLAN_INCLUDE)/zalloc.h
|
||||||
|
|
||||||
xerror.o: $(KOLAN_INCLUDE)/xerror.c $(KOLAN_INCLUDE)/xerror.c
|
xerror.o: $(KOLAN_INCLUDE)/xerror.c $(KOLAN_INCLUDE)/xerror.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.o *.out callgrind.out.* *.gcno zmalloc_test
|
$(RM) *.o *.out callgrind.out.* *.gcno zalloc_test
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
|
@ -8,7 +8,7 @@ indent_mode=2
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name=zmalloc
|
name=zmalloc
|
||||||
base_path=/home/kolan/dev/c/zmalloc/
|
base_path=/home/kolan/dev/c/zalloc/
|
||||||
description=
|
description=
|
||||||
|
|
||||||
[long line marker]
|
[long line marker]
|
||||||
|
@ -16,10 +16,11 @@ long_line_behaviour=1
|
||||||
long_line_column=72
|
long_line_column=72
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
current_page=2
|
current_page=3
|
||||||
FILE_NAME_0=0;C;0;16;1;1;1;/home/kolan/dev/c/zmalloc/zmalloc_test.c;0
|
FILE_NAME_0=178;C;0;16;1;1;1;/home/kolan/projects/include/xalloc.c;0
|
||||||
FILE_NAME_1=0;C;0;16;1;1;1;/home/kolan/projects/include/zmalloc.c;0
|
FILE_NAME_1=0;C;0;16;1;1;1;/home/kolan/projects/include/xalloc.h;0
|
||||||
FILE_NAME_2=1543;C;0;16;1;1;1;/home/kolan/projects/include/zmalloc.h;0
|
FILE_NAME_2=0;C;0;16;1;1;1;/home/kolan/projects/include/zalloc.c;0
|
||||||
|
FILE_NAME_3=0;C;0;16;1;1;1;/home/kolan/projects/include/zalloc.h;0
|
||||||
|
|
||||||
[build-menu]
|
[build-menu]
|
||||||
NF_00_LB=_Сделать
|
NF_00_LB=_Сделать
|
|
@ -7,7 +7,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zmalloc.h"
|
#include "zalloc.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
Loading…
Reference in New Issue