*** 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:
ikits 2003-05-01 20:12:19 +00:00
parent 38fbb8e02f
commit 0b6d97cee1

View File

@ -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 $@ $<