dos3d
view Makefile @ 4:c3e0bccd673e
added texture mapping
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 Nov 2011 11:51:23 +0200 |
parents | 0b7f840afe4a |
children | c8ffdbc6139e |
line source
1 obj = src/test.o \
2 src/mingl.o src/mglrast.o src/mglgen.o \
3 src/texture.o src/palman.o \
4 dosemu/dosemu.o
5 dep = $(obj:.o=.d)
6 bin = test
8 CC = gcc
9 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl` -Isrc -Idosemu
10 LDFLAGS = `pkg-config --libs sdl`
12 $(bin): $(obj)
13 $(CC) -o $@ $(obj) $(LDFLAGS)
15 -include $(dep)
17 %.d: %.c
18 @$(CPP) $(CFLAGS) $< -MM -MT $(@:.d=.o) >$@
20 .PHONY: clean
21 clean:
22 rm -f $(obj) $(bin)