mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
41 lines
813 B
Makefile
41 lines
813 B
Makefile
#
|
|
#
|
|
#
|
|
OBJECTS = dump_shared_data.o
|
|
PROGS = dump_shared_data.exe
|
|
LIBS =
|
|
CLEAN_FILES = dump_shared_data.o dump_shared_data.exe
|
|
|
|
all: dump_shared_data.exe
|
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
- $(RM) $*
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
|
|
|
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
|
|
|
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
|
ifeq ($(DOSCLI),yes)
|
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
|
else
|
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
|
endif
|
|
|
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
|
|
|
|
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
|
|
ifeq ($(DOSCLI),yes)
|
|
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
|
|
else
|
|
$(CP) $* ../../$(DIST_DIR)/apps/$*
|
|
endif
|
|
|
|
dump_shared_data.exe: $(OBJECTS)
|
|
$(CC) $(OBJECTS) -o dump_shared_data.exe
|
|
|
|
BASE_CFLAGS = -I../../include
|
|
include ../../rules.mak
|