Makefile 318 B

12345678910111213141516
  1. CC=/opt/gnu/bin/gcc
  2. CFLAGS=-g -Werror -pthread -pedantic -pedantic-errors -fno-fast-math -fno-builtin -m64 -std=iso9899:1999 -I${PWD}
  3. OUT=bin
  4. OBJ=$(OUT)/obj
  5. all: clean queue.o
  6. $(CC) $(CFLAGS) model.c $(OBJ)/queue.o -o $(OUT)/model
  7. queue.o:
  8. $(CC) $(CFLAGS) -c queue.c -o $(OBJ)/queue.o
  9. clean:
  10. rm -rf *.o model