forked from KolibriOS/kolibrios
cd74d1af33
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
30 lines
572 B
Makefile
30 lines
572 B
Makefile
include ../config.mk
|
|
|
|
PROGS = mech texobj gears spin
|
|
|
|
all: $(PROGS)
|
|
|
|
clean:
|
|
rm -f core *.o *~ $(PROGS)
|
|
|
|
mech: mech.o glu.o $(UI_OBJS) $(GL_DEPS)
|
|
$(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
|
|
|
|
texobj: texobj.o $(UI_OBJS) $(GL_DEPS)
|
|
$(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
|
|
|
|
gears: gears.o $(UI_OBJS) $(GL_DEPS)
|
|
$(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
|
|
|
|
spin: spin.o $(UI_OBJS) $(GL_DEPS)
|
|
$(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) $(GL_INCLUDES) $(UI_INCLUDES) -c $*.c
|
|
|
|
mech.o: glu.h
|
|
|
|
glu.o: glu.h
|
|
|
|
ui.o: ui.h
|