Skip to content
Snippets Groups Projects
Commit 3dbf9f87 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Allow use of custom CC for compiling tests

parent 28912d84
No related branches found
No related tags found
No related merge requests found
......@@ -88,12 +88,12 @@ BINS=\
unistd/setid \
unistd/stat
.PHONY: $(BINS) all clean run expected verify
$(BINS): %: bins/%
.PHONY: all $(BINS) clean run expected verify
all: $(BINS)
$(BINS): %: bins/%
clean:
rm -rf bins gen *.out
......@@ -147,4 +147,4 @@ TAILLIBS=\
bins/%: %.c ../sysroot
mkdir -p "$$(dirname "$@")"
gcc $(CFLAGS) $(HEADLIBS) "$<" $(TAILLIBS) -o "$@"
$(CC) $(CFLAGS) $(HEADLIBS) "$<" $(TAILLIBS) -o "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment