Rev | Line | |
---|
[1] | 1 | include ../config.mk |
---|
| 2 | |
---|
| 3 | PROGS = mech texobj gears spin |
---|
| 4 | |
---|
| 5 | all: $(PROGS) |
---|
| 6 | |
---|
| 7 | clean: |
---|
| 8 | rm -f core *.o *~ $(PROGS) |
---|
| 9 | |
---|
| 10 | mech: mech.o glu.o $(UI_OBJS) $(GL_DEPS) |
---|
| 11 | $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm |
---|
| 12 | |
---|
| 13 | texobj: texobj.o $(UI_OBJS) $(GL_DEPS) |
---|
| 14 | $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm |
---|
| 15 | |
---|
| 16 | gears: gears.o $(UI_OBJS) $(GL_DEPS) |
---|
| 17 | $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm |
---|
| 18 | |
---|
| 19 | spin: spin.o $(UI_OBJS) $(GL_DEPS) |
---|
| 20 | $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm |
---|
| 21 | |
---|
| 22 | .c.o: |
---|
| 23 | $(CC) $(CFLAGS) $(GL_INCLUDES) $(UI_INCLUDES) -c $*.c |
---|
| 24 | |
---|
| 25 | mech.o: glu.h |
---|
| 26 | |
---|
| 27 | glu.o: glu.h |
---|
| 28 | |
---|
| 29 | ui.o: ui.h |
---|
Note: See
TracBrowser
for help on using the repository browser.