source: trunk/sys/TinyGL/examples/Makefile @ 1

Last change on this file since 1 was 1, checked in by alain, 5 years ago

First import

File size: 572 bytes
Line 
1include ../config.mk
2
3PROGS = mech texobj gears spin
4
5all: $(PROGS)
6
7clean:
8        rm -f core *.o *~ $(PROGS)
9
10mech: mech.o glu.o $(UI_OBJS) $(GL_DEPS)
11        $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
12
13texobj: texobj.o $(UI_OBJS) $(GL_DEPS)
14        $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
15
16gears: gears.o $(UI_OBJS) $(GL_DEPS)
17        $(CC) $(LFLAGS) $^ -o $@ $(GL_LIBS) $(UI_LIBS) -lm
18
19spin: 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
25mech.o: glu.h
26
27glu.o: glu.h
28
29ui.o: ui.h
Note: See TracBrowser for help on using the repository browser.