mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-27 00:51:55 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@55 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
38fbb8e02f
commit
0b6d97cee1
8
Makefile
8
Makefile
@ -69,17 +69,17 @@ BIN.SRCS = src/glewinfo.c
|
||||
BIN.OBJS = $(BIN.SRCS:.c=.o)
|
||||
BIN.LIBS = -Llib -L/usr/X11R6/lib -lglut -l$(NAME) -lGLU -lGL -lXmu -lX11
|
||||
|
||||
all: lib/$(LIB.A) lib/$(LIB.SO) bin/$(BIN)
|
||||
all: bin/$(BIN) lib/$(LIB.SO)
|
||||
|
||||
lib/$(LIB.A): $(LIB.OBJS)
|
||||
$(AR) cr $@ $^
|
||||
|
||||
lib/$(LIB.SO): $(LIB.OBJS)
|
||||
$(LD) -shared -o $@ $^
|
||||
$(LN) $(LIB) lib/$(LIB.LNK)
|
||||
$(LN) $(LIB.SO) lib/$(LIB.SO.LNK)
|
||||
|
||||
bin/$(BIN): $(BIN.SRCS)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS)
|
||||
bin/$(BIN): $(BIN.SRCS) lib/$(LIB.A)
|
||||
$(CC) $(CFLAGS) -o $@ $< $(BIN.LIBS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user