Tuesday, July 17, 2018

Compiling multiple c files on ubuntu

Say you have 2 files
template.c
game.c

One of the two files should have main function
gcc template.c game.c -o output

No comments:

Post a Comment