rayzor
diff GNUmakefile @ 9:70e332156d02
moving along
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 10 Apr 2014 02:31:31 +0300 |
parents | 5fcf72837b69 |
children | d94a69933a71 |
line diff
1.1 --- a/GNUmakefile Mon Apr 07 08:46:06 2014 +0300 1.2 +++ b/GNUmakefile Thu Apr 10 02:31:31 2014 +0300 1.3 @@ -1,8 +1,9 @@ 1.4 -modelobj = src/main.o src/min3d.o src/m3drast.o src/logger.o 1.5 -rendobj = src/rend.o src/vmath.o 1.6 +baseobj = src/main.o src/logger.o src/screen.o src/scrman.o 1.7 +modelobj = src/modeller.o src/min3d.o src/m3drast.o src/lines.o 1.8 +rendobj = src/renderer.o src/vmath.o 1.9 scnobj = src/scene.o src/object.o 1.10 sysobj = src/dosemu/dosemu.o 1.11 -obj = $(modelobj) $(rendobj) $(scnobj) $(sysobj) 1.12 +obj = $(baseobj) $(modelobj) $(rendobj) $(scnobj) $(sysobj) 1.13 dep = $(obj:.o=.d) 1.14 bin = rayzor 1.15 1.16 @@ -32,3 +33,7 @@ 1.17 .PHONY: cleandep 1.18 cleandep: 1.19 rm -f $(dep) 1.20 + 1.21 +.PHONY: profile 1.22 +profile: 1.23 + $(MAKE) CFLAGS="$(CFLAGS) -O3 -pg" LDFLAGS="$(LDFLAGS) -pg"