mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +00:00
5249698af3
svn path=/trunk/; revision=658
46 lines
739 B
Makefile
46 lines
739 B
Makefile
#
|
|
# ReactOS cmdutils makefile
|
|
#
|
|
|
|
TARGET=tee.exe
|
|
|
|
all: $(TARGET)
|
|
|
|
OBJECTS = tee.o
|
|
|
|
CLEAN_FILES = *.o *.exe *.sym *.coff
|
|
|
|
|
|
tee.exe: tee.o
|
|
$(CC) tee.o -lkernel32 -lcrtdll -o tee.exe
|
|
$(NM) --numeric-sort tee.exe > tee.sym
|
|
|
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
- $(RM) $*
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
|
|
|
|
|
floppy: $(TARGET:%=$(FLOPPY_DIR)/apps/%)
|
|
|
|
$(TARGET:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
|
ifeq ($(DOSCLI),yes)
|
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
|
else
|
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
|
endif
|
|
|
|
|
|
dist: $(TARGET:%=../$(DIST_DIR)/%)
|
|
|
|
$(TARGET:%=../$(DIST_DIR)/%): ../$(DIST_DIR)/%: %
|
|
ifeq ($(DOSCLI),yes)
|
|
$(CP) $* ..\$(DIST_DIR)\$*
|
|
else
|
|
$(CP) $* ../$(DIST_DIR)/$*
|
|
endif
|
|
|
|
include ../rules.mak
|