mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-30 02:17:07 +00:00
bug fixes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@474 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
6fec8c7993
commit
d9f98404cc
6
Makefile
6
Makefile
@ -76,7 +76,7 @@ GLEWINFO.BIN.OBJS = $(GLEWINFO_BIN.SRCS:.c=.o)
|
||||
VISUALINFO.BIN = visualinfo$(BIN.SUFFIX)
|
||||
VISUALINFO.BIN.SRCS = src/visualinfo.c
|
||||
VISUALINFO.BIN.OBJS = $(VISUALINFO_BIN.SRCS:.c=.o)
|
||||
BIN.LIBS = -Llib $(LDFLAGS.STATIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.DYNAMIC) $(LDFLAGS.GL)
|
||||
BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL)
|
||||
|
||||
all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN)
|
||||
|
||||
@ -95,10 +95,10 @@ else
|
||||
endif
|
||||
|
||||
bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.SRCS) lib/$(LIB.SHARED)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS)
|
||||
$(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.SRCS) $(BIN.LIBS)
|
||||
|
||||
bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.SRCS) lib/$(LIB.SHARED)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS)
|
||||
$(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.SRCS) $(BIN.LIBS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user