1999-03-20 20:28:42 +00:00
|
|
|
#
|
1999-03-21 21:32:45 +00:00
|
|
|
# ReactOS makefile for CMD
|
1999-03-20 20:28:42 +00:00
|
|
|
#
|
1998-12-08 04:31:41 +00:00
|
|
|
|
1999-03-20 20:28:42 +00:00
|
|
|
all: cmd.exe
|
|
|
|
|
1999-05-11 12:40:11 +00:00
|
|
|
OBJECTS = cmd.o attrib.o alias.o batch.o beep.o call.o \
|
1999-03-30 22:06:36 +00:00
|
|
|
chcp.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 path.o \
|
1999-05-11 12:40:11 +00:00
|
|
|
pause.o prompt.o redir.o ren.o set.o shift.o time.o title.o type.o \
|
1999-03-30 22:06:36 +00:00
|
|
|
ver.o verify.o vol.o where.o
|
1999-03-21 21:32:45 +00:00
|
|
|
|
1999-04-27 14:50:51 +00:00
|
|
|
CLEAN_FILES = *.o cmd.exe cmd.sym
|
1999-04-03 23:43:27 +00:00
|
|
|
|
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
|
|
- $(RM) $*
|
|
|
|
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
1998-12-08 04:31:41 +00:00
|
|
|
|
1999-05-11 12:40:11 +00:00
|
|
|
cmd.exe: $(OBJECTS)
|
|
|
|
$(CC) $(OBJECTS) -lkernel32 -lcrtdll -o cmd.exe
|
1999-03-21 21:32:45 +00:00
|
|
|
$(NM) --numeric-sort cmd.exe > cmd.sym
|
1999-03-20 20:28:42 +00:00
|
|
|
|
1999-05-11 12:40:11 +00:00
|
|
|
include ../rules.mak
|