Skip to content

Commit

Permalink
prepare makefile code for new example
Browse files Browse the repository at this point in the history
  • Loading branch information
heliumhydride committed Dec 2, 2024
1 parent 8246d15 commit 553b087
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ examples/snake.o: examples/snake.c
o/snake: examples/snake.o librenderer.a
$(CC) -lsodium $(CFLAGS) -o o/snake examples/snake.o util.o librenderer.a

examples/snake.o: examples/snake.c
$(CC) -c $(CFLAGS) -o examples/snake.o examples/snake.c

o/complex_rotation: examples/complex_rotation.o librenderer.a
$(CC) -lsodium $(CFLAGS) -o o/complex_rotation examples/complex_rotation.o util.o librenderer.a

clean:
rm -rf *.o examples/*.o *.so* *.a o/*

Expand Down

0 comments on commit 553b087

Please sign in to comment.