Skip to content
Snippets Groups Projects
Commit 9ce6c55a authored by Paul's avatar Paul :turtle:
Browse files

fix makefile

parent ebd04639
No related branches found
No related tags found
No related merge requests found
Pipeline #6587 failed
......@@ -2,7 +2,7 @@ image: debian:latest
before_script:
- apt update > /dev/null
- apt install -y build-essential make libglu1-mesa-dev freeglut3-dev libpthread-stubs0-dev > /dev/null
- apt install -y build-essential make libglu1-mesa-dev freeglut3-dev libpthread-stubs0-dev > /dev/null
build_sim:
script:
......
......@@ -6,7 +6,7 @@ CFLAGS=-g -Werror -mcall-prologues -mmcu=$(MCU) -O2 -I ./
LDFLAGS=-Wl,-gc-sections -Wl,-relax
CC=avr-gcc
TARGET=main
OBJECT_FILES=main.o draw.o uart.o helpMath.o
OBJECT_FILES=main.o draw.o uart.o helpMath.o
all: $(TARGET).hex
......@@ -24,4 +24,4 @@ flash: $(TARGET).hex
avrdude -p $(MCU) -P $(PORT) -c avrisp -b 19200 -U flash:w:$(TARGET).hex
sim:
gcc main.c gol.c draw.c helpMath.c sim.c -g -D SIMULATION -lglut -lGL -lm -lGLU -Werror -Wextra
gcc -lpthread main.c gol.c draw.c helpMath.c sim.c -g -D SIMULATION -lglut -lGL -lm -lGLU -Werror -Wextra
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