Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22000

How to compile many projects in one makefile

$
0
0

Simple question but I couldn't find any full answer online.

I have 3 projects, my desire outcome is that I run make and all 3 programs are transformed into executable files.

gcc -o server server.cgcc -o server2 server2.cgcc -o server3 server3.c

Is this achievable? How?


Viewing all articles
Browse latest Browse all 22000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>