mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
ff511b446a
svn path=/trunk/; revision=633
27 lines
782 B
Makefile
27 lines
782 B
Makefile
#
|
|
# ReactOS makefile for CMD
|
|
#
|
|
|
|
all: cmd.exe
|
|
|
|
OBJECTS = cmd.o attrib.o alias.o batch.o beep.o call.o chcp.o choice.o \
|
|
cls.o cmdinput.o cmdtable.o color.o console.o copy.o date.o del.o \
|
|
dir.o dirstack.o echo.o error.o filecomp.o for.o goto.o history.o \
|
|
if.o internal.o label.o locale.o misc.o move.o msgbox.o path.o \
|
|
pause.o prompt.o redir.o ren.o set.o shift.o start.o time.o \
|
|
timer.o title.o type.o ver.o verify.o vol.o where.o
|
|
|
|
CLEAN_FILES = *.o cmd.exe cmd.sym
|
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
- $(RM) $*
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
|
|
|
cmd.exe: $(OBJECTS)
|
|
$(CC) $(OBJECTS) -lkernel32 -lcrtdll -luser32 -o cmd.exe
|
|
$(NM) --numeric-sort cmd.exe > cmd.sym
|
|
|
|
include ../rules.mak
|