diff options
Diffstat (limited to 'progs/samples')
-rw-r--r-- | progs/samples/Makefile.DJ | 5 | ||||
-rw-r--r-- | progs/samples/Makefile.mgw | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ index 2f0f687587b..9b1055ce733 100644 --- a/progs/samples/Makefile.DJ +++ b/progs/samples/Makefile.DJ @@ -20,7 +20,7 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP samples makefile v1.4 for Mesa +# DOS/DJGPP samples makefile v1.5 for Mesa # # Copyright (C) 2002 - Borca Daniel # Email : [email protected] @@ -61,6 +61,9 @@ CFLAGS = -Wall -W -pedantic CFLAGS += -O2 -ffast-math -mcpu=$(CPU) CFLAGS += -I$(TOP)/include -I../util CFLAGS += -DGLUT_IMPORT_LIB +ifeq ($(FX),1) +CFLAGS += -DFX +endif LD = gxx LDFLAGS = -s -L$(TOP)/lib diff --git a/progs/samples/Makefile.mgw b/progs/samples/Makefile.mgw index bf2ac05b8b4..94ffbe639ad 100644 --- a/progs/samples/Makefile.mgw +++ b/progs/samples/Makefile.mgw @@ -20,7 +20,7 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# MinGW samples makefile v1.0 for Mesa +# MinGW samples makefile v1.1 for Mesa # # Copyright (C) 2002 - Borca Daniel # Email : [email protected] @@ -50,6 +50,9 @@ CC = mingw32-gcc CFLAGS = -Wall -W -pedantic CFLAGS += -O2 -ffast-math -mcpu=$(CPU) CFLAGS += -I$(TOP)/include -I../util +ifeq ($(FX),1) +CFLAGS += -DFX +endif CFLAGS += -DGLUT_DISABLE_ATEXIT_HACK -D_STDCALL_SUPPORTED CFLAGS += -D_WINDEF_ -D_WINGDI_ |