mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 08:21:31 +00:00
![Eric Kohl](/assets/img/avatar_default.png)
Added workaround for corrupted dos header magic Added some more rtl functions svn path=/trunk/; revision=1292
40 lines
707 B
Makefile
40 lines
707 B
Makefile
#
|
|
#
|
|
#
|
|
OBJECTS = hello.o
|
|
PROGS = hello.exe
|
|
LIBS =
|
|
CLEAN_FILES = hello.o hello.exe
|
|
|
|
all: hello.exe
|
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
- $(RM) $*
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
|
|
|
install: $(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
|
|
|
|
hello.exe: $(OBJECTS)
|
|
$(CC) $(OBJECTS) -o hello.exe
|
|
|
|
include ../../rules.mak
|