Skip to content

Commit aa71eb0

Browse files
committed
fix linking
1 parent 1e8d4b9 commit aa71eb0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
- name: install dependencies
2020
run: |
2121
sudo apt update -y
22-
sudo apt install -y libgl1-mesa-dev libglfw3-dev libglew-dev libstb-dev libglm-dev
23-
sudo ldconfig
22+
sudo apt install -y libglfw3-dev libglew-dev libstb-dev libglm-dev
2423
2524
- name: make
2625
run: make

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bin:
3030
mkdir -p $@
3131

3232
$(TARGET): $(OBJS) | bin
33-
g++ $(CFLAGS) $(LDFLAGS) $^ -o $(TARGET)
33+
g++ $^ -o $(TARGET) $(LDFLAGS)
3434

3535
build/%.o: src/%.cpp | build
3636
g++ $(CFLAGS) -MMD -MP -c $< -o $@

0 commit comments

Comments
 (0)