deepstone
view Makefile @ 26:61d97b17cd2b
shortened the name fixed_point.c/h to fixedp
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 22 Sep 2013 02:25:41 +0300 |
parents | 5ff8ce78059a |
children | dcfe615c4c5f |
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 src/scene.o src/cvec.o src/fixedp.o \
5 dosemu/dosemu.o
6 dep = $(obj:.o=.d)
7 bin = deepstone
9 CC = gcc
10 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl` -Isrc -Idosemu
11 #-DRAST_FLOAT -DDBG_USE_FLOAT
12 LDFLAGS = `pkg-config --libs sdl` -lm
14 $(bin): $(obj)
15 $(CC) -o $@ $(obj) $(LDFLAGS)
17 -include $(dep)
19 %.d: %.c
20 @$(CPP) $(CFLAGS) $< -MM -MT $(@:.d=.o) >$@
22 .PHONY: clean
23 clean:
24 rm -f $(obj) $(bin)
26 .PHONY: cleandep
27 cleandep:
28 rm -f $(dep)