- CC=/opt/gnu/bin/gcc
- CFLAGS=-g -Werror -pthread -pedantic -pedantic-errors -fno-fast-math -fno-builtin -m64 -std=iso9899:1999 -I${PWD}
- OUT=bin
- OBJ=$(OUT)/obj
- all: clean queue.o
- $(CC) $(CFLAGS) model.c $(OBJ)/queue.o -o $(OUT)/model
- queue.o:
- $(CC) $(CFLAGS) -c queue.c -o $(OBJ)/queue.o
- clean:
- rm -rf *.o model
|