diff options
author | Jérôme Glisse <jglisse@redhat.com> | 2017-08-12 16:10:17 -0400 |
---|---|---|
committer | Jérôme Glisse <jglisse@redhat.com> | 2017-08-12 16:10:17 -0400 |
commit | ca39394948c9f78f330c35cc4ba30acd6df8c2ed (patch) | |
tree | e14104736d6d3a9e0dac9579586dbf5e28bb27a0 /Makefile | |
parent | c92bc5ceb15d36863f03025620c6ddceba461982 (diff) |
compote: split between old way and new way
old way is use device specific memory allocator
new way is to use malloc (here we have a limitation due to nouveau
the address must be in below 1 << 40 hence why the custom malloc)
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -12,7 +12,13 @@ CFLAGS = -std=c99 -Wall -O0 -g -D_GNU_SOURCE LFLAGS = -lm CC = gcc -all: compote +all: old new -compote: compote.o - $(CC) $(CFLAGS) $< -o $@ +old: compote.o old.o + $(CC) $(CFLAGS) $? -o $@ + +new: compote.o new.o + $(CC) $(CFLAGS) $? -o $@ + +clean: + rm old new *.o |