this should be better
This commit is contained in:
parent
e4a4d2175f
commit
52d87dea1b
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -1,4 +1,5 @@
|
|||
CC=/bin/clang
|
||||
CC=$(shell which clang)
|
||||
CFLAGS:=$(CFLAGS)
|
||||
BINDIR=bin
|
||||
|
||||
main=$(BINDIR)/main
|
||||
|
|
@ -7,7 +8,7 @@ all: setup $(main) libs
|
|||
|
||||
setup:
|
||||
mkdir -p $(BINDIR)
|
||||
git submodule update --remote
|
||||
git submodule update --remote --init
|
||||
|
||||
$(main): src/main.c src/linked-list/linked_list.c
|
||||
$(CC) $(CXXFLAGS) $(CFLAGS) src/main.c -o $(main)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue