Use system compiler

parent a36468b5
CC = gcc
CC ?= gcc
CFLAGS = -fopenmp -Ideps -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer -D_GNU_SOURCE
LDFLAGS = -static -static-libgcc -lm
......@@ -23,7 +23,7 @@ main: $(MAKEHEADERS) $(HEADERS) $(DEPOBJS) $(OBJS)
$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(DEPOBJS) $(LDFLAGS)
$(MAKEHEADERS): makeheaders.c
gcc makeheaders.c -o makeheaders
$(CC) makeheaders.c -o makeheaders
%.h: %.c
./makeheaders src/*.c src/structs/*.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment