diff options
author | Guillaume Melquiond <[email protected]> | 2008-07-30 07:56:42 -0700 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2008-07-30 07:56:42 -0700 |
commit | 3e8e292db0794a4d2dda1605f86e8f71dbf1d661 (patch) | |
tree | 084bc2e62e84afa95df02a4897cc7f0449164921 /progs/slang/Makefile | |
parent | b068ab62a0433b6a92374c83f153b3c9ac4b4e5e (diff) |
Always pass CFLAGS when compiling or linking demos
To ensure that the correct architecture flags are used, always pass the
user's CFLAGS when compiling or linking the demos. Fixes #16860.
Diffstat (limited to 'progs/slang/Makefile')
-rw-r--r-- | progs/slang/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/progs/slang/Makefile b/progs/slang/Makefile index c93caeab619..f6f34fcd25f 100644 --- a/progs/slang/Makefile +++ b/progs/slang/Makefile @@ -31,27 +31,27 @@ clean: # cltest: cltest.o framework.o $(LIB_DEP) - $(CC) $(LDFLAGS) cltest.o framework.o $(LIBS) -o cltest + $(CC) $(CFLAGS) $(LDFLAGS) cltest.o framework.o $(LIBS) -o cltest sotest: sotest.o framework.o $(LIB_DEP) - $(CC) $(LDFLAGS) sotest.o framework.o $(LIBS) -o sotest + $(CC) $(CFLAGS) $(LDFLAGS) sotest.o framework.o $(LIBS) -o sotest vstest: vstest.o framework.o $(LIB_DEP) - $(CC) $(LDFLAGS) vstest.o framework.o $(LIBS) -o vstest + $(CC) $(CFLAGS) $(LDFLAGS) vstest.o framework.o $(LIBS) -o vstest # # objects # framework.o: framework.c framework.h - $(CC) -c -I$(INCDIR) framework.c -o framework.o + $(CC) -c -I$(INCDIR) $(CFLAGS) framework.c -o framework.o cltest.o: cltest.c framework.h - $(CC) -c -I$(INCDIR) cltest.c -o cltest.o + $(CC) -c -I$(INCDIR) $(CFLAGS) cltest.c -o cltest.o sotest.o: sotest.c framework.h - $(CC) -c -I$(INCDIR) sotest.c -o sotest.o + $(CC) -c -I$(INCDIR) $(CFLAGS) sotest.c -o sotest.o vstest.o: vstest.c framework.h - $(CC) -c -I$(INCDIR) vstest.c -o vstest.o + $(CC) -c -I$(INCDIR) $(CFLAGS) vstest.c -o vstest.o |