!ifdef __UNIX__
incpath = -Isrc -Isrc/dos -Ilibs/imago/src -Ilibs/oldmik/src
libpath = libpath libs/imago libpath libs/oldmik
+RM = rm -f
!else
incpath = -Isrc -Isrc\dos -Ilibs\imago\src -Ilibs\oldmik\src
libpath = libpath libs\imago libpath libs\oldmik
+RM = del
!endif
AS = nasm
cxxflags.occ: Makefile
%write $@ $(CXXFLAGS)
+music.obj: music.c
+ $(CC) -fo=$@ @cflags.occ -zu $[*
+
.c.obj: .autodepend
$(CC) -fo=$@ @cflags.occ $[*
$(AS) $(ASFLAGS) -o $@ $[*.asm
clean: .symbolic
- del *.obj
- del *.occ
- del *.lnk
- del $(bin)
+ $(RM) *.obj
+ $(RM) *.occ
+ $(RM) *.lnk
+ $(RM) $(bin)