summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/samples/Makefile.DJ10
1 files changed, 3 insertions, 7 deletions
diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ
index b5724f432a0..3d679ebe7c6 100644
--- a/progs/samples/Makefile.DJ
+++ b/progs/samples/Makefile.DJ
@@ -65,16 +65,12 @@ CFLAGS += -I$(TOP)/include
LDFLAGS = -s -L$(TOP)/lib
-ifdef DXE
+ifeq ($(DXE),1)
DMESADXE = $(TOP)/lib/dmesadxe.o
-LDLIBS += -liglut -liglu -ligl
-ifdef FX
-LDFLAGS += -L$(GLIDE)
-endif
-LDLIBS += -ldl
+LDLIBS += -liglut -liglu -ligl -ldl
else
LDLIBS = -lglut -lglu -lgl
-ifdef FX
+ifeq ($(FX),1)
LDFLAGS += -L$(GLIDE)
LDLIBS += -lglid3
endif