vbeinfo
annotate Makefile @ 1:d2d777a5da95
fixed wrong memory size report
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 26 Jul 2017 21:05:01 +0300 |
parents | |
children | 5b0ef094b8fd |
rev | line source |
---|---|
nuclear@0 | 1 obj = main.obj vbe.obj dpmi.obj |
nuclear@0 | 2 bin = vbeinfo.exe |
nuclear@0 | 3 |
nuclear@0 | 4 #opt = -5 -fp5 -otexan |
nuclear@0 | 5 dbg = -d1 |
nuclear@0 | 6 |
nuclear@0 | 7 CC = wcc386 |
nuclear@0 | 8 CFLAGS = $(dbg) $(opt) -zq -bt=dos -Isrc\stl |
nuclear@0 | 9 LD = wlink |
nuclear@0 | 10 |
nuclear@0 | 11 $(bin): $(obj) |
nuclear@0 | 12 %write objects.lnk file { $(obj) } |
nuclear@0 | 13 $(LD) debug all name $@ @objects $(LDFLAGS) |
nuclear@0 | 14 |
nuclear@0 | 15 .c: src |
nuclear@0 | 16 |
nuclear@0 | 17 .c.obj: .autodepend |
nuclear@0 | 18 $(CC) $(CFLAGS) $[* |
nuclear@0 | 19 |
nuclear@0 | 20 clean: .symbolic |
nuclear@0 | 21 del *.obj |
nuclear@0 | 22 del $(bin) |