Monday, September 17, 2007

Makefile experiment

Okay, as per this week's "To Do List" I followed the instructions and created a basic makefile for the nled editor. I haven't used nled since first year, what a flashback.

Anyway, it was pretty simple. Not sure if I "cheated" by commenting out a tiny statement in the qkdisp.c file in the qb_beep function as follows:
/*#elif WIN95
MessageBeep(MB_OK);*/
#elif __OS2__

because I was getting an error about it.

In any case, the makefile looks like this:
makefile
and the end result? No .obj files left over when I ran it with the command --- make && make clean ---
as well...ta da!!
nled

No comments: