projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added rules for building asm code in the gcc makefiles
[dosdemo]
/
GNUmakefile
diff --git
a/GNUmakefile
b/GNUmakefile
index
de6b64a
..
d6c67d1
100644
(file)
--- a/
GNUmakefile
+++ b/
GNUmakefile
@@
-11,6
+11,9
@@
LDFLAGS = -Llibs/imago -Llibs/mikmod -limago -lmikmod `sdl-config --libs` -lm
$(bin): $(obj) imago mikmod
$(CC) -o $@ $(obj) $(LDFLAGS)
+%.o: %.asm
+ nasm -f elf -o $@ $<
+
-include $(dep)
%.d: %.c