30 Nov 14 13:48, you wrote to me:
ac>> I don't know what SASC uses as a compiler #define. __SASC__
ac>> maybe?
BF> # amiga makefile for makenl
No, the compiler has internal #defines, eg. Watcom C defines __WATCOMC__ to
allow you to use #ifdefs in the source code to call Watcom-specific functions.
Nothing to do with the makefile, although as a last resort in the SASC makefile
you could do something like:
makenl: $(OBJS)
sc -D__SASC__=1 -o makenl $(OBJS)
(or whatever the correct syntax is for running the SASC compiler.)
--- GoldED+/BSD 1.1.5-b20130910
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
|