Pelles C forum

Pelles C forum => General discussion => Topic started by: rweidner on March 03, 2026, 05:27:26 PM

Title: Compiling using pomake
Post by: rweidner on March 03, 2026, 05:27:26 PM
I noticed a post recently where someone was trying to compile using pomake. I didn't attempt to compile his examples. Others looked and determined the issue was user error.  But the whole thread got me thinking. Why compile from the command line?

I can explain why I use that approach. It may seem unusual to some, but it works for me. I let PellesC manage my *.ppj files, while I sometimes use a different IDE for coding. Project management and debugging stay in PellesC, and pomake handles the builds.

So, my questions are:

Title: Re: Compiling using pomake
Post by: rweidner on March 03, 2026, 09:51:50 PM
This isn't my first post. There are still a few posts around.

I wrote a GTK+ PellesC post back in the day. 
I wrote a MySQL + PellesC post too. 
I was certain I wrote a SDL + PellesC post at some point in the past. But I can't seem to find that one now.

I don't mean to sound like a reporter. Just trying to start a conversation. (aka General Discussion)
Title: Re: Compiling using pomake
Post by: rweidner on March 03, 2026, 10:10:16 PM
The reason I use the command line and pomake is because I also use a separate IDE from PellesC. I use PellesC IDE too. But sometimes I prefer something else.

No, I'm not a recruiter. In this context I'm just a dev that likes C and PellesC.

When I search my name, I see that none of my posts show up. What does show up are a few conversations about my posts. Other users seemed to get some value from at least a few of them. Maybe I'll make a few new ones to rebuild my street cred? My project today is PellesC + Raylib. I built a template for that type of project. I'll share that.
Title: Re: Compiling using pomake
Post by: TimoVJL on March 03, 2026, 10:21:10 PM
https://forum.pellesc.de/index.php?topic=3039.0 (https://forum.pellesc.de/index.php?topic=3039.0)


https://forum.pellesc.de/index.php?topic=4713.0 (https://forum.pellesc.de/index.php?topic=4713.0)

Title: Re: Compiling using pomake
Post by: John Z on March 03, 2026, 10:34:17 PM
I see.  No offense meant, can't be too careful these days.

Removing my prior post.

Regards,
John Z

I don't use pomake but I'm finishing up an IDE Add-In that when called creates one batch file that does the entire build process...just for fun - -

cheers,
 
Title: Re: Compiling using pomake
Post by: rweidner on March 03, 2026, 11:50:36 PM
It's all good. No offense taken. Sometimes I use a couple of tiny .bat files for building. These are 2 of them.

build_debug.bat
===============
@echo off
call "%~dp0env_pelles32.bat"
cd /d "%~dp0"
"C:\Program Files\PellesC\Bin\pomake.exe" /F "RaylibWin32.ppj" POC_PROJECT_MODE=Debug

env_pelles32.bat
================
@echo off
REM Sets PellesC environment for x86 builds.
call "C:\Program Files\PellesC\Bin\povars32.bat"