19 lines
292 B
Makefile
19 lines
292 B
Makefile
|
include $(MENUETDEV)/osrules.mak
|
||
|
|
||
|
.SUFFIXES: .asm;
|
||
|
|
||
|
OBJS = crt0.o
|
||
|
|
||
|
all: $(OBJS)
|
||
|
|
||
|
ifdef ON_WINDOWS
|
||
|
crt0.o: crt0_$(STUBFMT).asm
|
||
|
fasm crt0_$(STUBFMT).asm crt0.o
|
||
|
else
|
||
|
crt0.o: crt0_$(STUBFMT)_nounderscores.asm
|
||
|
fasm crt0_$(STUBFMT)_nounderscores.asm crt0.o
|
||
|
endif
|
||
|
|
||
|
clean:
|
||
|
$(RM) $(OBJS)
|