Permalink
Browse files

Remove hardcoded CC

  • Loading branch information...
paraschetal committed Aug 7, 2017
1 parent ae1abc4 commit 632cc9514247bd7e39a9aa33e7dac5a05ba5db2f
Showing with 3 additions and 7 deletions.
  1. +2 −5 u2mfn/Makefile
  2. +1 −2 vchan/Makefile.linux
@@ -19,15 +19,12 @@
#
#

CC=gcc
CFLAGS=-g -Wall
all: libu2mfn.so

libu2mfn.so : u2mfnlib.o
gcc -shared -o libu2mfn.so u2mfnlib.o
$(CC) -shared -o libu2mfn.so u2mfnlib.o
u2mfnlib.o: u2mfnlib.c
gcc -fPIC -Wall -g -c u2mfnlib.c
$(CC) -fPIC -Wall -g -c u2mfnlib.c
clean:
rm -f *.o *so *~ libu2mfn.so


@@ -19,12 +19,11 @@
#
#

CC=gcc
CFLAGS=-g -Wall -Wextra -Werror -fPIC -O2
all: libvchan-xen.so vchan-xen.pc

libvchan-xen.so : init.o io.o
gcc -shared -o libvchan-xen.so $^ -lxenvchan -lxenctrl
$(CC) -shared -o libvchan-xen.so $^ -lxenvchan -lxenctrl
clean:
rm -f *.o *so *~ client server node node-select

0 comments on commit 632cc95

Please sign in to comment.